XERCES (optional) -- enabled by default

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

User avatar
tgraupmann
Quite a regular
Quite a regular
Posts: 78
Joined: Thu Aug 18, 2005 00:47
Contact:

XERCES (optional) -- enabled by default

Postby tgraupmann » Wed Sep 14, 2005 22:13

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!

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

Re: XERCES (optional) -- enabled by default

Postby CrazyEddie » Thu Sep 15, 2005 08:28

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 :)

User avatar
gcarlton
Just can't stay away
Just can't stay away
Posts: 149
Joined: Wed Jan 12, 2005 12:06

Re: XERCES (optional) -- enabled by default

Postby gcarlton » Tue Sep 20, 2005 23:27

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.

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

Re: XERCES (optional) -- enabled by default

Postby CrazyEddie » Wed Sep 21, 2005 10:33

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 ;)


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 10 guests