[alicebot-archcomm] Blank condition values

Conan Callen alicebot-archcomm@list.alicebot.org
Mon, 20 May 2002 01:06:48 -0700


Right after I sent my question I read the docs (opps), and saw just what you
are talking about.

Thanks, Conan

----- Original Message -----
From: "Noel Bush" <noel@alicebot.org>
To: "Alicebot and AIML Architecture Committee"
<alicebot-archcomm@list.alicebot.org>
Sent: Sunday, May 19, 2002 11:54 PM
Subject: Re: [alicebot-archcomm] Blank condition values


> We have said that the value of the value attribute must be a valid AIML
> pattern.  An empty string is not a valid AIML pattern.  So according to
> the current specification it is not possible to test for a blank value
> in the ways you illustrated.  A valid way could be:
>
> <condition name="color">
>   <li value="*">Color is associated with a non-blank value.</li>
>   <li>Color is associated with a blank value.</li>
> </condition>
>
> On Mon, 2002-05-20 at 00:14, Conan Callen wrote:
> > On a condition statement if the value is "" (blank), is it nessessary to
include the value="" or can it be left off?
> >
> > <condition name="color" value=""> == <condition name="color">
> >
> > or
> >
> > <li name="color" value=""> == <li name="color">
>
>
> _______________________________________________
> alicebot-archcomm mailing list
> alicebot-archcomm@list.alicebot.org
> http://list.alicebot.org/mailman/listinfo/alicebot-archcomm
>