You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finally found and corrected the bug that added mal-formed XML to the
template field of the aiml table from the upload script!
I also added "Pretty Print" to the download script, to make the
downloaded AIML filed easier to read, AND updated the bot_test.aiml file
to the "pretty Printed" version.
copies of the Software, and to permit persons to whom the
12
-
Software is furnished to do so, subject to the following
13
-
conditions:
14
-
15
-
The above copyright notice and this permission notice shall be
16
-
included in all copies or substantial portions of the Software.
17
-
18
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
20
-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
22
-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
23
-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25
-
OTHER DEALINGS IN THE SOFTWARE.
26
-
27
-
Complies with the AIML 1.0.1 Standard
28
-
as adopted by the ALICE A.I. Foundation.
29
-
Last modified 02-18-2013
30
-
file: bot_test.aiml
31
-
32
-
-->
33
-
<aimlversion="1.01">
34
-
<category><pattern>AIML TEST SENTENCE *</pattern><template>Only the first letter of the following should be capitalized: "<sentence><star /></sentence>"</template></category>
35
-
<category><pattern>AIML TEST FORMAL *</pattern><template>Every word should be capitalized here: "<formal><star /></formal>"</template></category>
36
-
<category><pattern>AIML TEST SRAI *</pattern><template>Running SRAI test on <star />: <br /><srai><star /></srai></template></category>
37
-
<category><pattern>AIML TEST BOT PROPERTY *</pattern><template>The bot property <star /> is <botname="*" />.</template></category>
38
-
<category><pattern>AIML TEST UPPERCASE *</pattern><template>The following should all be in capital letters: "<uppercase><star /></uppercase>"</template></category>
<category><pattern>AIML TEST SR *</pattern><template>Running SR test on <star />: <br/><sr/></template></category>
41
-
<category><pattern>AIML TEST ID</pattern><template>Your user ID is <id />.</template></category>
42
-
<category><pattern>AIML TEST VERSION</pattern><template><version /></template></category>
43
-
<category><pattern>AIML TEST CONDITION *</pattern><template><b>Testing Condition tag with NAME and VALUE attributes:</b><br /><conditionname="gender"value="female"> attractive.</condition><conditionname="gender"value="male"> handsome.</condition><br /><b>Testing Condition tag with only NAME attribute:</b><br /><conditionname="gender"><livalue="female"> attractive.</li><livalue="male"> handsome.</li></condition><br /><b>Testing Condition tag with no attributes:</b><br /><condition><liname="gender"value="female"> attractive.</li><liname="gender"value="male"> handsome.</li></condition><br />Testing complete.</template></category>
44
-
<category><pattern> AIML TEST SET * TO *</pattern><template><think><setname="*"><starindex="2" /></set></think>The value of <star /> has been set to <starindex="2" />.</template></category>
45
-
<category><pattern> AIML TEST GET *</pattern><template>The value of <star /> is <getname="*" />.</template></category>
46
-
<category><pattern>AIML TEST LOWERCASE *</pattern><template>The following should all be in lower case letters: "<lowercase><star /></lowercase>"</template></category>
<!-- copies of the Software, and to permit persons to whom the -->
10
+
<!-- Software is furnished to do so, subject to the following -->
11
+
<!-- conditions: -->
12
+
<!-- The above copyright notice and this permission notice shall be -->
13
+
<!-- included in all copies or substantial portions of the Software. -->
14
+
<!-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -->
15
+
<!-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -->
16
+
<!-- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -->
17
+
<!-- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -->
18
+
<!-- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -->
19
+
<!-- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -->
20
+
<!-- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -->
21
+
<!-- OTHER DEALINGS IN THE SOFTWARE. -->
22
+
<!-- Complies with the AIML 1.0 Standard -->
23
+
<!-- as adopted by the ALICE A.I. Foundation. -->
24
+
<!-- Last modified 08-29-2013 -->
25
+
<!-- file: bot_test.aiml -->
26
+
<aimlversion="1.0">
27
+
<category>
28
+
<pattern>AIML TEST SENTENCE *</pattern>
29
+
<template>Only the first letter of the following should be capitalized: "<sentence><star/></sentence>"</template>
30
+
</category>
31
+
<category>
32
+
<pattern>AIML TEST FORMAL *</pattern>
33
+
<template>Every word should be capitalized here: "<formal><star/></formal>"</template>
34
+
</category>
35
+
<category>
36
+
<pattern>AIML TEST SRAI *</pattern>
37
+
<template>Running SRAI test on <star/>: <br/><srai><star/></srai></template>
38
+
</category>
39
+
<category>
40
+
<pattern>AIML TEST BOT PROPERTY *</pattern>
41
+
<template>The bot property <star/> is <botname="*"/>.</template>
42
+
</category>
43
+
<category>
44
+
<pattern>AIML TEST UPPERCASE *</pattern>
45
+
<template>The following should all be in capital letters: "<uppercase><star/></uppercase>"</template>
46
+
</category>
47
+
<category>
48
+
<pattern>AIML TEST HTML</pattern>
49
+
<template>Testing HTML tag parsing:<br/>Link tag: <ahref="http://www.geekcavecreations.com"target="_blank">Geek Cave Creations</a><br/><b>BOLD</b><br/><i>italic</i><br/><s>strikethrough</s><br/><u>underline</u><sub>subscript</sub><br/><sup>superscript</sup><br/><big>BIG</big><br/><strong>STRONG</strong><small>small</small><br/>Unordered list:<br/><ul><li>Item 1</li><li>Item 2</li><li>Item 3</li></ul><br/>Ordered list:<br/><ol><li>Item 1</li><li>Item 2</li><li>Item 3</li></ol><br/>Test complete.</template>
50
+
</category>
51
+
<category>
52
+
<pattern>AIML TEST SR *</pattern>
53
+
<template>Running SR test on <star/>: <br/><sr/></template>
54
+
</category>
55
+
<category>
56
+
<pattern>AIML TEST ID</pattern>
57
+
<template>Your user ID is <id/>.</template>
58
+
</category>
59
+
<category>
60
+
<pattern>AIML TEST VERSION</pattern>
61
+
<template>
62
+
<version/>
63
+
</template>
64
+
</category>
65
+
<category>
66
+
<pattern>AIML TEST CONDITION *</pattern>
67
+
<template><b>Testing Condition tag with NAME and VALUE attributes:</b><br/><conditionname="gender"value="female"> attractive.</condition><conditionname="gender"value="male"> handsome.</condition><br/><b>Testing Condition tag with only NAME attribute:</b><br/><conditionname="gender"><livalue="female"> attractive.</li><livalue="male"> handsome.</li></condition><br/><b>Testing Condition tag with no attributes:</b><br/><condition><liname="gender"value="female"> attractive.</li><liname="gender"value="male"> handsome.</li></condition><br/>Testing complete.</template>
68
+
</category>
69
+
<category>
70
+
<pattern> AIML TEST SET * TO *</pattern>
71
+
<template><think><setname="*"><starindex="2"/></set></think>The value of <star/> has been set to <starindex="2"/>.</template>
72
+
</category>
73
+
<category>
74
+
<pattern> AIML TEST GET *</pattern>
75
+
<template>The value of <star/> is <getname="*"/>.</template>
76
+
</category>
77
+
<category>
78
+
<pattern>AIML TEST LOWERCASE *</pattern>
79
+
<template>The following should all be in lower case letters: "<lowercase><star/></lowercase>"</template>
0 commit comments