Bug in XML parser with linux and 0.5.0
Posted: Fri Mar 02, 2007 00:31
I have this error I can't understand while loading TaharezLook.scheme:
02/03/2007 00:58:11 (InfL1) ---- CEGUI System initialisation completed ----
02/03/2007 00:58:11 (InfL1) ---- Version 0.5.0 ----
02/03/2007 00:58:11 (InfL1) ---- Renderer module is: CEGUI::OgreRenderer - Official Ogre based renderer module for CEGUI ----
02/03/2007 00:58:11 (InfL1) ---- XML Parser module is: CEGUI::XercesParser - Official Xerces-C++ based parser module for CEGUI ----
02/03/2007 00:58:11 (InfL1) ---- Scripting module is: None ----
02/03/2007 00:58:11 (InfL1) Attempting to load Scheme from file 'TaharezLook.scheme'.
02/03/2007 00:58:11 (InfL1) XercesParser::initialiseSchema - Attempting to load schema from file 'GUIScheme.xsd'.
02/03/2007 00:58:12 (InfL1) XercesParser::initialiseSchema - XML schema file 'GUIScheme.xsd' has been initialised.
02/03/2007 01:06:28 (Error) Exception: XercesParser::parseXMLFile - An error occurred at line nr. 11 while parsing XML file 'TaharezLook.scheme'. Additional information: Unknown element 'WindowRendererSet'
02/03/2007 01:06:28 (Error) Scheme::Scheme - loading of Scheme from file 'TaharezLook.scheme' failed.
Why the hell doesn't he knows WindowRendererSet ?
- WindowRendererSet is well defined in CEGUIScheme_xmlHandler.cpp
- the 11th line of TaharezLook.scheme is not that at all, WindowRendererSet is on the 5th and the 11th is the Titlebar.
- I'm using a just recompiled CEGUI from 0.5.0 release.
- It is used in an Ogre3D program, with OgreCEGUIRenderer, all are up to date.
I tried to gdb in the parser to see why it does that, I could only get to CEGUI::XercesParser::doParse (...) at CEGUIXercesParser.cpp:279, gdb doesn't have information to go deeper, in the parse() function.
Is there a special libxml version needed ? (I guess ./configure would have screamed)
Please help, it's driving me nuts
02/03/2007 00:58:11 (InfL1) ---- CEGUI System initialisation completed ----
02/03/2007 00:58:11 (InfL1) ---- Version 0.5.0 ----
02/03/2007 00:58:11 (InfL1) ---- Renderer module is: CEGUI::OgreRenderer - Official Ogre based renderer module for CEGUI ----
02/03/2007 00:58:11 (InfL1) ---- XML Parser module is: CEGUI::XercesParser - Official Xerces-C++ based parser module for CEGUI ----
02/03/2007 00:58:11 (InfL1) ---- Scripting module is: None ----
02/03/2007 00:58:11 (InfL1) Attempting to load Scheme from file 'TaharezLook.scheme'.
02/03/2007 00:58:11 (InfL1) XercesParser::initialiseSchema - Attempting to load schema from file 'GUIScheme.xsd'.
02/03/2007 00:58:12 (InfL1) XercesParser::initialiseSchema - XML schema file 'GUIScheme.xsd' has been initialised.
02/03/2007 01:06:28 (Error) Exception: XercesParser::parseXMLFile - An error occurred at line nr. 11 while parsing XML file 'TaharezLook.scheme'. Additional information: Unknown element 'WindowRendererSet'
02/03/2007 01:06:28 (Error) Scheme::Scheme - loading of Scheme from file 'TaharezLook.scheme' failed.
Why the hell doesn't he knows WindowRendererSet ?
- WindowRendererSet is well defined in CEGUIScheme_xmlHandler.cpp
- the 11th line of TaharezLook.scheme is not that at all, WindowRendererSet is on the 5th and the 11th is the Titlebar.
- I'm using a just recompiled CEGUI from 0.5.0 release.
- It is used in an Ogre3D program, with OgreCEGUIRenderer, all are up to date.
I tried to gdb in the parser to see why it does that, I could only get to CEGUI::XercesParser::doParse (...) at CEGUIXercesParser.cpp:279, gdb doesn't have information to go deeper, in the parse() function.
Is there a special libxml version needed ? (I guess ./configure would have screamed)
Please help, it's driving me nuts