Branch
Hash :
6974feb0
Author :
Date :
2006-02-05T02:43:36
fixed the comment streaming bug raised by Graham Bennett added to the * parser.c: fixed the comment streaming bug raised by Graham Bennett * test/badcomment.xml result//badcomment.xml*: added to the regression suite. Daniel
SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(foo, NULL, NULL, 0, 0, 0)
SAX.characters(
, 1)
SAX.comment( def='NT-Char')
SAX.comment(>Char</nt>* ']]>' <nt def='NT-Char'>Char</nt>*))
']]>'</rhs>
<com>CDATA sections</com>
<rhs>| '<!DOCTYPE'
(<nt def="NT-Char">Char</nt> - ('[' | ']'))+
('['
<nt def="NT-simpleDTD">simpleDTD</nt>*
']')? '>'</rhs>
<com>doc type declaration</com>
<prod id="NT-simpleDTD"><lhs>simpleDTD</lhs>
<rhs>'<!&como;'
(<nt def='NT-Char'>Char</nt>* -
(<nt def='NT-Char'>Char</nt>* '&comc;' <nt def='NT-Char'>Char</nt>*))
'&comc;>'</rhs>)
SAX.characters(
, 1)
SAX.endElementNs(foo, NULL, NULL)
SAX.endDocument()