Whitespace changes

This commit is contained in:
jez 2010-12-24 21:42:06 +00:00
parent 6999f61599
commit 5d572fef10

View file

@ -192,8 +192,10 @@ class Parser : protected Arabica::SAX::DefaultHandler<stringT, typename ParserTy
currentNode_ = 0; currentNode_ = 0;
} // endDocument } // endDocument
virtual void startElement(const stringT& namespaceURI, const stringT& /*localName*/, virtual void startElement(const stringT& namespaceURI,
const stringT& qName, const AttributesT& atts) const stringT& /*localName*/,
const stringT& qName,
const AttributesT& atts)
{ {
if(currentNode_ == 0) if(currentNode_ == 0)
return; return;
@ -226,7 +228,8 @@ class Parser : protected Arabica::SAX::DefaultHandler<stringT, typename ParserTy
} // catch } // catch
} // startElement } // startElement
virtual void endElement(const stringT& /*namespaceURI*/, const stringT& /*localName*/, virtual void endElement(const stringT& /*namespaceURI*/,
const stringT& /*localName*/,
const stringT& /*qName*/) const stringT& /*qName*/)
{ {
if(currentNode_ == 0) if(currentNode_ == 0)
@ -286,7 +289,9 @@ class Parser : protected Arabica::SAX::DefaultHandler<stringT, typename ParserTy
///////////////////////////////////////////////////// /////////////////////////////////////////////////////
// LexicalHandler // LexicalHandler
virtual void startDTD(const stringT& name, const stringT& publicId, const stringT& systemId) virtual void startDTD(const stringT& name,
const stringT& publicId,
const stringT& systemId)
{ {
documentType_ = new DocumentType<stringT, string_adaptorT >(name, publicId, systemId); documentType_ = new DocumentType<stringT, string_adaptorT >(name, publicId, systemId);
document_.insertBefore(documentType_, 0); document_.insertBefore(documentType_, 0);