/ libxml2 / result / badcomment.xml.rdr
badcomment.xml.rdr
 1  0 1 foo 0 0
 2  1 14 #text 0 1 
 3  
 4  1 8 #comment 0 1  def='NT-Char'
 5  1 8 #comment 0 1 >Char</nt>* ']]&gt;' <nt def='NT-Char'>Char</nt>*))
 6  ']]&gt;'</rhs>
 7  <com>CDATA sections</com>
 8  <rhs>| '&lt;!DOCTYPE' 
 9  (<nt def="NT-Char">Char</nt> - ('[' | ']'))+
10  ('[' 
11  <nt def="NT-simpleDTD">simpleDTD</nt>*
12  ']')? '&gt;'</rhs>
13  <com>doc type declaration</com>
14  <prod id="NT-simpleDTD"><lhs>simpleDTD</lhs>
15  <rhs>'&lt;!&como;' 
16  (<nt def='NT-Char'>Char</nt>* - 
17  (<nt def='NT-Char'>Char</nt>* '&comc;' <nt def='NT-Char'>Char</nt>*))
18  '&comc;&gt;'</rhs>
19  1 14 #text 0 1 
20  
21  0 15 foo 0 0