[alicebot-archcomm] Blank condition values
Noel Bush
alicebot-archcomm@list.alicebot.org
20 May 2002 13:54:03 +0400
By the way, I think it's entirely possible that the doc should be
changed to support what you want more directly. ;-)
On Mon, 2002-05-20 at 12:06, Conan Callen wrote:
> 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
> >
>
> _______________________________________________
> alicebot-archcomm mailing list
> alicebot-archcomm@list.alicebot.org
> http://list.alicebot.org/mailman/listinfo/alicebot-archcomm
>