badcomment.xml.rde 552 B

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