6 #include <xercesc/util/XMLString.hpp>
19 const XMLCh*
const name,
20 const XMLCh*
const qname,
22 char* strx = XMLString::transcode(
name);
26 for (
unsigned int i = 0;
i < atts.getLength(); ++
i) {
27 char* aname = XMLString::transcode(atts.getLocalName(
i));
28 char*
value = XMLString::transcode(atts.getValue(
i));
36 dom_.addEdge(parent_.back(), nm, al);
39 parent_.emplace_back(nm);
49 char*
id = XMLString::transcode(
e.getSystemId());
50 char* message = XMLString::transcode(
e.getMessage());
51 cerr <<
"\nError at file " <<
id <<
", line " <<
e.getLineNumber() <<
", char " <<
e.getColumnNumber()
52 <<
"\n Message: " << message << endl;