You should be able to play a single player game with TinyXML now with the tinyxml branch from
https://glestae.svn.sourceforge.net/svnroot/glestae/branches/tinyxml .
You will need to get TinyXML from
http://www.grinninglizard.com/tinyxml/ and compile the STL project and add #define TIXML_USE_STL to the top of tinyxml.h .
I've done up some tests if people want to try. Modify the xml and see if the errors are what you expect.
====Tests
Normal:
- load an xml file (starting a game), includes one that has comments (ie air_ballista.xml)
- file with no doctype (should still work)
- try different spacing, it shouldn't matter
- text in between tags (probably won't do anything in Glest) (eg. <element> text </element> )
Error:
- bad attribute: no value and quotes (but with the equals)
- multiple root elements
- bad element: no ending tag bug has starting tag
- bad element: no starting tag but has ending tag
- empty file (or with some text but not xml) (not really an error but Glest wants particular elements to be present)