28 const XMLCh*
const localname,
29 const XMLCh*
const qname,
38 const XMLCh*
const localname,
39 const XMLCh*
const qname )
46 const XMLSize_t length )
59 const XMLSize_t length )
76 std::cout <<
"DetectorDescription/Parser/interface/DDLSAX2Handler::dumpStats, file: " 93 <<
"\nError at file " <<
cStr(e.getSystemId()).ptr()
94 <<
", line " << e.getLineNumber()
95 <<
", char " << e.getColumnNumber()
96 <<
"\n Message: " <<
cStr(e.getMessage()).ptr() << std::endl;
104 <<
"\nFatal Error at file " <<
cStr(e.getSystemId()).ptr()
105 <<
", line " << e.getLineNumber()
106 <<
", char " << e.getColumnNumber()
108 <<
cStr(e.getMessage()).ptr() << std::endl;
109 throw cms::Exception(
"DDException") <<
"DetectorDescription_Parser_Unrecoverable_Error_from_Xerces: " 111 <<
" file: " <<
toString(e.getSystemId())
112 <<
" line: " << e.getLineNumber() <<
" col: " << e.getColumnNumber();
119 <<
"\nWarning at file " <<
cStr(e.getSystemId()).ptr()
120 <<
", line " << e.getLineNumber()
121 <<
", char " << e.getColumnNumber()
122 <<
"\n Message: " <<
cStr(e.getMessage()).ptr() << std::endl;
~DDLSAX2Handler() override
void error(const SAXParseException &exception) override
unsigned int getAttrCount() const
Get the count of attributes processed so far.
XMLSize_t characterCount_
void fatalError(const SAXParseException &exception) override
void characters(const XMLCh *chars, XMLSize_t length) override
virtual void setUserNS(bool userns)
ZStr< char > cStr(XMLCh const *str)
unsigned int getElementCount() const
Get the count of elements processed so far.
unsigned int getCharacterCount() const
Get the count of characters processed so far.
void comment(const XMLCh *chars, XMLSize_t length) override
unsigned int getSpaceCount() const
Get the count of spaces processed so far.
void endElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname) override
void warning(const SAXParseException &exception) override
void resetDocument() override
virtual void setNameSpace(const std::string &nms)
void ignorableWhitespace(const XMLCh *chars, XMLSize_t length) override
XERCES_CPP_NAMESPACE::Attributes Attributes
virtual void dumpStats(const std::string &fname)
XERCES_CPP_NAMESPACE::SAXParseException SAXParseException
void startElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname, const Attributes &attrs) override