27 const XMLCh*
const localname,
28 const XMLCh*
const qname,
37 const XMLCh*
const localname,
38 const XMLCh*
const qname )
45 const XMLSize_t length )
58 const XMLSize_t length )
75 std::cout <<
"DetectorDescription/Parser/interface/DDLSAX2Handler::dumpStats, file: " 92 <<
"\nError at file " <<
cStr(e.getSystemId()).ptr()
93 <<
", line " << e.getLineNumber()
94 <<
", char " << e.getColumnNumber()
95 <<
"\n Message: " <<
cStr(e.getMessage()).ptr() << std::endl;
103 <<
"\nFatal Error at file " <<
cStr(e.getSystemId()).ptr()
104 <<
", line " << e.getLineNumber()
105 <<
", char " << e.getColumnNumber()
107 <<
cStr(e.getMessage()).ptr() << std::endl;
108 throw cms::Exception(
"DDException") <<
"DetectorDescription_Parser_Unrecoverable_Error_from_Xerces: " 110 <<
" file: " <<
toString(e.getSystemId())
111 <<
" line: " << e.getLineNumber() <<
" col: " << e.getColumnNumber();
118 <<
"\nWarning at file " <<
cStr(e.getSystemId()).ptr()
119 <<
", line " << e.getLineNumber()
120 <<
", char " << e.getColumnNumber()
121 <<
"\n Message: " <<
cStr(e.getMessage()).ptr() << std::endl;
virtual void error(const SAXParseException &exception) override
virtual void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) override
unsigned int getAttrCount() const
Get the count of attributes processed so far.
virtual void comment(const XMLCh *const chars, const XMLSize_t length) override
XMLSize_t characterCount_
virtual void characters(const XMLCh *const chars, const XMLSize_t length) override
virtual void fatalError(const SAXParseException &exception) override
XERCES_CPP_NAMESPACE::SAXParseException SAXParseException
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.
unsigned int getSpaceCount() const
Get the count of spaces processed so far.
virtual void warning(const SAXParseException &exception) override
virtual void resetDocument() override
virtual void setNameSpace(const std::string &nms)
virtual void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs) override
virtual void dumpStats(const std::string &fname)
XERCES_CPP_NAMESPACE::Attributes Attributes
virtual void ignorableWhitespace(const XMLCh *const chars, const XMLSize_t length) override