59 #include <xercesc/sax/SAXParseException.hpp> 60 using XERCES_CPP_NAMESPACE::SAXParseException;
62 #include <xercesc/util/XMLString.hpp> 63 using XERCES_CPP_NAMESPACE::XMLString;
70 const char *
CONFIG =
"CONFIGURATION";
79 const SAXParseException& e,
80 const char* alternateFile,
84 (alternateFile) ? alternateFile : XMLString::transcode(e.getSystemId());
86 cerr << prefix <<
": processing " << fileType <<
" file \'" << file <<
"\'" 87 <<
" at line " << e.getLineNumber() - prefixLines
88 <<
", character " << e.getColumnNumber() <<
":" << endl <<
"\t" 90 << XMLString::transcode(e.getMessage()) <<
"." << endl;
static void report(std::ostream &estream, const char *prefix, const char *fileType, const XERCES_CPP_NAMESPACE::SAXParseException &e, const char *alternateFile=0, int numPrefixLines=0)
void fatalError(const XERCES_CPP_NAMESPACE::SAXParseException &e)
void error(const XERCES_CPP_NAMESPACE::SAXParseException &e)
void warning(const XERCES_CPP_NAMESPACE::SAXParseException &e)