[alicebot-archcomm] Blank condition values
Conan Callen
alicebot-archcomm@list.alicebot.org
Mon, 20 May 2002 07:27:18 -0700
Given the existing rules, this addtion would add to the complexity of the
interpreter possibly leading to error ambiguity, and confusing the aiml
programmer. Unless botmasters are filling your mail box asking for this
feature, extensions are probably a higher priority
Conan
----- Original Message -----
From: "Noel Bush" <noel@alicebot.org>
To: "Alicebot and AIML Architecture Committee"
<alicebot-archcomm@list.alicebot.org>
Sent: Monday, May 20, 2002 2:54 AM
Subject: Re: [alicebot-archcomm] Blank condition values
> 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
> >
>
>
> _______________________________________________
> alicebot-archcomm mailing list
> alicebot-archcomm@list.alicebot.org
> http://list.alicebot.org/mailman/listinfo/alicebot-archcomm
>