In ceguiconfig.h
#define CEGUI_WITH_XERCES
can this be commented out by default?
Since the xerces dep package is needed if it remains uncommented!
XERCES (optional) -- enabled by default
Moderators: CEGUI MVP, CEGUI Team
- tgraupmann
- Quite a regular
- Posts: 78
- Joined: Thu Aug 18, 2005 00:47
- Contact:
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: XERCES (optional) -- enabled by default
Xerces is indeed optional, although it's still the preferred choice for xml parser - hence the line is not commented by default. This preference is because from a support point of view, xerces will indicate many xml based issues which may be hard to spot when using a non-validating parser.
Probably we should just document things a bit more in the README and on the Wiki so people know to setup CEGUIConfig.h first, if they're not using Xerces
Probably we should just document things a bit more in the README and on the Wiki so people know to setup CEGUIConfig.h first, if they're not using Xerces
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: XERCES (optional) -- enabled by default
I also think its better disabled by default. Although it adds checking, it brings in a huge set of dependancies and for lightweight games, its not worth the trouble.
Plus, if its off by default, then CEGUI just works out of the box. People who care enough to set up xerces can certainly also edit the config. People who don't care enough, don't have to worry about the config.
Side note: I wonder if there is an external validation tool out there that could be recommended. That way, CEGUI is kept lean and fast, but you can scan through any problematic xml files if needed.
Plus, if its off by default, then CEGUI just works out of the box. People who care enough to set up xerces can certainly also edit the config. People who don't care enough, don't have to worry about the config.
Side note: I wonder if there is an external validation tool out there that could be recommended. That way, CEGUI is kept lean and fast, but you can scan through any problematic xml files if needed.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: XERCES (optional) -- enabled by default
Changing the default xml parser is a tough call to make.
Obviously what we don't need is newbies with no clue feeding bad files to TinyXML and expecting us to be able to tell them what's wrong via some Voodoo ritual, or something
Next big release not be until December, so you have until then to convince me
Obviously what we don't need is newbies with no clue feeding bad files to TinyXML and expecting us to be able to tell them what's wrong via some Voodoo ritual, or something
Next big release not be until December, so you have until then to convince me
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 10 guests