notes.dtd 452 B

12345678910111213141516171819
  1. <!--
  2. This gets parsed without complaint:
  3. <!ELEMENT pfx:notes ( #PCDATA | note | pfx:note )* >
  4. -->
  5. <!--
  6. This triggers a diagnostic:
  7. notes.dtd:13: validity error : Definition of notes has duplicate
  8. references of note
  9. <!ELEMENT pfx:notes ( #PCDATA | pfx:note | note )* >
  10. -->
  11. <!ELEMENT pfx:notes ( #PCDATA | pfx:note | note )* >
  12. <!ATTLIST notes
  13. xmlns:pfx CDATA #FIXED 'http://namespace/uri/here'
  14. >
  15. <!ELEMENT note EMPTY >
  16. <!ELEMENT pfx:note EMPTY >