badcomment.xml 525 B

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