Well I read the Xml_parser day and night to write similar one for OpenDungeons
From what I deduced and learned from IRC Xml_parser is pure wrapper class, Well I found some scratches in it :
The actulaly used XML parser should depend on
enum xml_engine_parser_type {
XML_XERCES_ENGINE = 0,
XML_RAPIDXML_ENGINE = 1
} ;
static xml_engine_parser_type DEFAULT_XML_ENGINE = XML_RAPIDXML_ENGINE;
Does it ?
Well there are functions which still depend on Xerces classes , regardless of what above variable is set to .
XmlNode(XERCES_CPP_NAMESPACE::DOMNode *node, const std::map<string,string> &mapTagReplacementValues);
XERCES_CPP_NAMESPACE::DOMElement *buildElement(XERCES_CPP_NAMESPACE::DOMDocument *document) const;
XmlAttribute(XERCES_CPP_NAMESPACE::DOMNode *attribute, const std::map<string,string> &mapTagReplacementValues);
Is seems either I don't get something or it;s just harsh-nissness of your implementation ?
regards