mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-25 23:21:26 +03:00
6974feb0cf
* parser.c: fixed the comment streaming bug raised by Graham Bennett * test/badcomment.xml result//badcomment.xml*: added to the regression suite. Daniel
22 lines
552 B
Plaintext
22 lines
552 B
Plaintext
0 1 foo 0 0
|
|
1 14 #text 0 1
|
|
|
|
1 8 #comment 0 1 def='NT-Char'
|
|
1 8 #comment 0 1 >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>
|
|
1 14 #text 0 1
|
|
|
|
0 15 foo 0 0
|