6 #include <xercesc/util/XMLString.hpp> 13 { parent_.emplace_back(
NodeName(
"TinyDom")); }
24 const XMLCh*
const name,
25 const XMLCh*
const qname,
28 char * strx = XMLString::transcode(name);
32 for (
unsigned int i = 0;
i < atts.getLength(); ++
i) {
33 char* aname = XMLString::transcode(atts.getLocalName(
i));
34 char*
value = XMLString::transcode(atts.getValue(
i));
42 dom_.addEdge(parent_.back(), nm , al);
45 parent_.emplace_back(nm);
50 const XMLCh*
const name,
51 const XMLCh*
const qname)
59 char*
id = XMLString::transcode(e.getSystemId());
60 char* message = XMLString::transcode(e.getMessage());
61 cerr <<
"\nError at file " <<
id 62 <<
", line " << e.getLineNumber()
63 <<
", char " << e.getColumnNumber()
64 <<
"\n Message: " << message << endl;
std::map< AttName, AttValue > AttList
XERCES_CPP_NAMESPACE::SAXParseException SAXParseException
void endElement(const XMLCh *uri, const XMLCh *name, const XMLCh *qname) override
XERCES_CPP_NAMESPACE::Attributes Attributes
void error(const SAXParseException &e) override
void startElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname, const Attributes &attrs) override
const TinyDom & dom() const