[alicebot-archcomm] Spec for Li
mehri
foreverlinux at yahoo.com
Sat Sep 9 09:20:19 PDT 2006
To say "THEN the AIML document is not valid"
would require a change to the xsd and a rerelease of the xsd as well as changes to bot brains which will now become invalid AMIL documents.
I'm rooting for empty string to become the standard.
----- Original Message ----
From: Dirk Scheuring <scheuring at gmail.com>
To: alicebot-archcomm at list.alicebot.org
Sent: Saturday, September 9, 2006 9:21:57 AM
Subject: Re: [alicebot-archcomm] Spec for Li
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
_______________________________________________
alicebot-archcomm mailing list
alicebot-archcomm at list.alicebot.org
http://list.alicebot.org/mailman/listinfo/alicebot-archcomm
More information about the alicebot-archcomm
mailing list