mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-30 08:38:15 +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;
|
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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue