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