37 const XMLCh*
const localname,
38 const XMLCh*
const qname,
47 const XMLCh*
const localname,
48 const XMLCh*
const qname )
55 const unsigned int length )
68 const unsigned int length )
85 std::cout <<
"DetectorDescription/Parser/interface/DDLSAX2Handler::dumpStats, file: "
102 <<
"\nError at file " <<
StrX(e.getSystemId())
103 <<
", line " << e.getLineNumber()
104 <<
", char " << e.getColumnNumber()
105 <<
"\n Message: " <<
StrX(e.getMessage()) << std::endl;
113 <<
"\nFatal Error at file " <<
StrX(e.getSystemId())
114 <<
", line " << e.getLineNumber()
115 <<
", char " << e.getColumnNumber()
117 <<
StrX(e.getMessage()) << std::endl;
118 throw cms::Exception(
"DDException") <<
"DetectorDescription_Parser_Unrecoverable_Error_from_Xerces: "
119 << std::string(
StrX(e.getMessage()).localForm())
120 <<
" file: " << std::string(
StrX(e.getSystemId()).localForm())
121 <<
" line: " << e.getLineNumber() <<
" col: " << e.getColumnNumber();
128 <<
"\nWarning at file " <<
StrX(e.getSystemId())
129 <<
", line " << e.getLineNumber()
130 <<
", char " << e.getColumnNumber()
131 <<
"\n Message: " <<
StrX(e.getMessage()) << std::endl;
virtual void characters(const XMLCh *const chars, const unsigned int length)
unsigned int characterCount_
unsigned int getAttrCount() const
Get the count of attributes processed so far.
virtual void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
unsigned int elementCount_
virtual void resetDocument()
virtual void warning(const SAXParseException &exception)
XERCES_CPP_NAMESPACE::SAXParseException SAXParseException
virtual void ignorableWhitespace(const XMLCh *const chars, const unsigned int length)
virtual void setUserNS(bool userns)
virtual void fatalError(const SAXParseException &exception)
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 error(const SAXParseException &exception)
virtual void setNameSpace(const std::string &nms)
virtual void comment(const XMLCh *const chars, const unsigned int length)
virtual void dumpStats(const std::string &fname)
virtual void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs)
XERCES_CPP_NAMESPACE::Attributes Attributes