Help required

View: New views
2 Messages — Rating Filter:   Alert me  

Help required

by Song Lilin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Dear all,
I'm a university student working on Program D and AIML for a project. I'm still very new to both; and I have some problems and questions regarding Program D that I hope you could please help me with:
 
1) When integrating the processed AAA set I downloaded from the ProgramD site, I encountered the following parsing error with Predicates.aiml:
 
[2007-02-08 21:22:13,000] INFO: Loading file:C:/ProgramD/aaa/Predicates.aiml....
[2007-02-08 21:22:13,031] WARN: Error parsing "file:C:/ProgramD/aaa/Predicates.aiml": cvc-complex-type.2.4.a: Invalid content was found starting with element 'get'. One of '{"http://alicebot.org/2001/AIML-1.0.1":topic, "http://alicebot.org/2001/AIML-1.0.1":category}' is expected.
cvc-complex-type.2.4.a: Invalid content was found starting with element 'get'. One of '{"http://alicebot.org/2001/AIML-1.0.1":topic, "http://alicebot.org/2001/AIML-1.0.1":category}' is expected.
 
How may this be resolved? I have tried looking through Predicates.aiml but I was not able to find anything wrong with the tags.
 
2) I am trying to use the Charlix project's ReversedAIML file (http://charlix.sourceforge.net/reversedaiml.html) with Program D and got the following parsing error:
 
[2007-02-08 21:25:39,125] WARN: Error parsing "file:/C:/ProgramD/reversedaiml.aiml": cvc-complex-type.2.3: Element 'aiml' cannot have character [children], because the type's content type is element-only.
cvc-complex-type.2.3: Element 'aiml' cannot have character [children], because the type's content type is element-only.
 
When I tried to chat with the "ReversedAIML" bot, I received this error:
 
[2007-02-08 21:37:05,109] ERROR: Error while processing response: No class with name "li" is registered by this ClassRegistry.
Unknown processor "li".
 
Again, how may these errors be resolved?
 
Thanks for the great work done on Program D and I hope you may help me with these problems.
 
Regards
 
Song Lilin

_______________________________________________
programd mailing list
programd@...
http://aitools.org/mailman/listinfo/programd

Re: Help required

by Noel Bush :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The simple script I put together to try to fix up various errors in sets
like the AAA set didn't validate the sets against the AIML schema, a
stupid oversight on my part.  If you open the files in a good XML editor
(I like oXygenXML), it should get you closer to finding the errors.

Song Lilin wrote:

> Dear all,
>
>     I'm a university student working on Program D and AIML for a
>     project. I'm still very new to both; and I have some problems and
>     questions regarding Program D that I hope you could please help me with:
>      
>     1) When integrating the processed AAA set I downloaded from the
>     ProgramD site, I encountered the following parsing error with
>     Predicates.aiml:
>      
>     [2007-02-08 21:22:13,000] INFO: Loading
>     file:C:/ProgramD/aaa/Predicates.aiml....
>     [2007-02-08 21:22:13,031] WARN: Error parsing
>     "file:C:/ProgramD/aaa/Predicates.aiml": cvc-complex-type.2.4.a:
>     Invalid content was found starting with element 'get'. One of
>     '{"http://alicebot.org/2001/AIML-1.0.1":topic,
>     "http://alicebot.org/2001/AIML-1.0.1":category}' is expected.
>     cvc-complex-type.2.4.a: Invalid content was found starting with
>     element 'get'. One of '{"http://alicebot.org/2001/AIML-1.0.1":topic,
>     "http://alicebot.org/2001/AIML-1.0.1":category}' is expected.
>      
>     How may this be resolved? I have tried looking through
>     Predicates.aiml but I was not able to find anything wrong with the tags.
>      
>     2) I am trying to use the Charlix project's ReversedAIML file
>     (http://charlix.sourceforge.net/reversedaiml.html) with Program D
>     and got the following parsing error:
>      
>     [2007-02-08 21:25:39,125] WARN: Error parsing
>     "file:/C:/ProgramD/reversedaiml.aiml": cvc-complex-type.2.3: Element
>     'aiml' cannot have character [children], because the type's content
>     type is element-only.
>     cvc-complex-type.2.3: Element 'aiml' cannot have character
>     [children], because the type's content type is element-only.
>      
>     When I tried to chat with the "ReversedAIML" bot, I received this error:
>      
>     [2007-02-08 21:37:05,109] ERROR: Error while processing response: No
>     class with name "li" is registered by this ClassRegistry.
>     Unknown processor "li".
>      
>     Again, how may these errors be resolved?
>      
>     Thanks for the great work done on Program D and I hope you may help
>     me with these problems.
>      
>     Regards
>      
>     Song Lilin
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> programd mailing list
> programd@...
> http://aitools.org/mailman/listinfo/programd
_______________________________________________
programd mailing list
programd@...
http://aitools.org/mailman/listinfo/programd
LightInTheBox - Buy quality products at wholesale price