ParseXml Error

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
shmrod
Just popping in
Just popping in
Posts: 3
Joined: Wed Aug 10, 2005 04:56

ParseXml Error

Postby shmrod » Sat Aug 13, 2005 08:13

Hi,

I'm trying to use this crazy Gui, into Ogre stuff.
After recompiling it, recompiling ogre, my project linked right.
I launched my project, and damn it, error:

Code: Select all

XercesParser::ParseXMlFIle - An unexpected error occured while parsing xml File 'demolayout.xml'.
WindowManager::loadWindowLayout - loading of layout from file 'demolyaout.xml' failed.


:shock:

Have an idea?

ps: As you can see I use original demolayout.xml from cegui editor.

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: ParseXml Error

Postby lindquist » Sat Aug 13, 2005 14:42

Can you give some more info on the exception getting thrown?

User avatar
shmrod
Just popping in
Just popping in
Posts: 3
Joined: Wed Aug 10, 2005 04:56

Re: ParseXml Error

Postby shmrod » Sun Aug 14, 2005 06:53

In fact, there is a repertory gui in media. So simply I put the xml here, and it works. Great.

Oki, I wrote a little menu with cegui editor, and try to load a QuitButton:
Cegui Log:

Code: Select all

a windowFactory object ( or an alias for 'TaharezLook/StaticText' window objects is not registered with the system.


Have an idea?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: ParseXml Error

Postby CrazyEddie » Sun Aug 14, 2005 09:31

That is very minimal information to go on, as such I can only give you a minimal answer ;)

The error means that you have not loaded a CEGUI scheme that provides the widget type you are trying to create. In this case, make sure that you are loading the scheme file "TaharezLook.scheme" prior to creating any TaharezLook widgets.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 2 guests