mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-17 18:12:04 +01:00
Whitespace changes
This commit is contained in:
parent
6999f61599
commit
5d572fef10
1 changed files with 9 additions and 4 deletions
|
@ -192,8 +192,10 @@ class Parser : protected Arabica::SAX::DefaultHandler<stringT, typename ParserTy
|
|||
currentNode_ = 0;
|
||||
} // endDocument
|
||||
|
||||
virtual void startElement(const stringT& namespaceURI, const stringT& /*localName*/,
|
||||
const stringT& qName, const AttributesT& atts)
|
||||
virtual void startElement(const stringT& namespaceURI,
|
||||
const stringT& /*localName*/,
|
||||
const stringT& qName,
|
||||
const AttributesT& atts)
|
||||
{
|
||||
if(currentNode_ == 0)
|
||||
return;
|
||||
|
@ -226,7 +228,8 @@ class Parser : protected Arabica::SAX::DefaultHandler<stringT, typename ParserTy
|
|||
} // catch
|
||||
} // startElement
|
||||
|
||||
virtual void endElement(const stringT& /*namespaceURI*/, const stringT& /*localName*/,
|
||||
virtual void endElement(const stringT& /*namespaceURI*/,
|
||||
const stringT& /*localName*/,
|
||||
const stringT& /*qName*/)
|
||||
{
|
||||
if(currentNode_ == 0)
|
||||
|
@ -286,7 +289,9 @@ class Parser : protected Arabica::SAX::DefaultHandler<stringT, typename ParserTy
|
|||
|
||||
/////////////////////////////////////////////////////
|
||||
// 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);
|
||||
document_.insertBefore(documentType_, 0);
|
||||
|
|
Loading…
Reference in a new issue