[alicebot-archcomm] <pattern>'s having <bot> tags in them.
mehri
foreverlinux at yahoo.com
Mon Oct 16 19:15:56 PDT 2006
I recieved a most interesting bug report today.
I found this piece of snippet someone was using:
<category>
<pattern>CIAO <bot name="name"/></pattern>
<template><srai>CIAO</srai></template>
</category>
My
xsd (which is from programD) allows the bot tag to be there when in the
AIML specification 1.0.1, it says nowhere that <pattern> can have
any tags inside of it at all. My interpreter RebeccaAIML, effectively
ignores that <bot> tag and it's treated exactly the same as if it
was:
<category>
<pattern>CIAO</pattern>
<template><srai>CIAO</srai></template>
</category>
Which
is the reason why RebeccaAIML is reporting an infinite symbolic
reduction. Remove the above category and it should no longer
misbehave.
This is very interesting that bots are implementing this behavior.
It's more than just programD that has implemented this inner tag. Other interpreters have also. So, is that tag suppose to be there? Did I miss it in the AIML spec? I didn't see it anywhere mentioned. Also, are there other tags that are allowed within <pattern> that I have missed?
More information about the alicebot-archcomm
mailing list