[alicebot-general] AIML with ProgramD

Noel Bush noel at aitools.org
Tue Mar 14 13:31:23 PST 2006


Hi Frank,

You'll get this sort of message if you don't include the declaration of 
the AIML namespace on the AIML element.  Try changing:

<aiml>

to

<aiml version="1.0.1" xmlns="http://alicebot.org/2001/AIML-1.0.1">

See the set of test cases in the resources/testing directory that comes 
with Program D -- the file called "AIML.aiml".  That's an example of a 
document with a namespace declaration.

Also check out the readme document that comes with Program D 
(docs/readme.html), also available online here:

http://aitools.org/programd/docs/readme.html

...specifically section 1.2, which covers this.

Lastly, note that you can get a somewhat cleaned-up version of the "AAA" 
and other AIML sets here:

http://aitools.org/aiml-sets/

The results are not always perfect, but they get you a certain distance 
toward XML well-formedness, schema compliance, and so forth.  The Perl 
script that is run on the files is available in the Program D release, 
in resources/scripts.

Best,
Noel

Frank Plummer wrote:
> Hey There,
> 
> I've set up ProgramD to the point where I have set up a bot and told it to
> learn a piece of AIML.
> 
> I have named this piece of AIML "EMMA.aiml". When I start the
> simple-gui-console.bat file, it spurts out this:
> 
> Error parsing "file:/C:/EMMA/ProgramD/ProgramD/aiml/EMMA.aiml": cvc-elt.1:
> Cannot find the declaration of element 'aiml'.
> cvc-elt.1: Cannot find the declaration of element 'aiml'.
> 
> I don't know what I've done wrong. The file "EMMA.aiml" is basically
> "A.aiml" from the Standard AIML Set.
> 
> I've tried this on two seperate machines, with both results being the same.
> 
> Please help!
> --
> View this message in context: http://www.nabble.com/AIML-with-ProgramD-t1280765.html#a3403713
> Sent from the Alicebot General forum at Nabble.com.
> 
> _______________________________________________
> This is the alicebot-general mailing list
> Reply to alicebot-general at list.alicebot.org
> Unsubscribe and change preferences at http://list.alicebot.org/mailman/listinfo/alicebot-general
> Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html
> Learn to read at http://www.literacy.org/


More information about the alicebot-general mailing list