[alicebot-archcomm] Spec for Li

Dirk Scheuring scheuring at gmail.com
Sat Sep 9 08:21:57 PDT 2006


Sandro wrote:

> What about saying that an AIML document is *not valid* if a
> defaultListItem <li> is missing from the conditional element?

I think that it's clearer to require a concrete behavior from the
interpreter, like "IF a conditional list has no default list item, AND
none of the conditional values matches, THEN return the empty string".
If we'd say instead "...THEN the AIML document is not valid", it
doesn't seem clear to me what we want the implementation to do then:
Don't load the file? Don't load the category? Don't load the
conditional element? I think that we should describe "compliant
behavior" as simply and explicitly as possible.

Dirk


More information about the alicebot-archcomm mailing list