xref: /aosp_15_r20/external/libxml2/test/valid/dtds/notes.dtd (revision 7c5688314b92172186c154356a6374bf7684c3ca)
1*7c568831SAndroid Build Coastguard Worker<!--
2*7c568831SAndroid Build Coastguard WorkerThis gets parsed without complaint:
3*7c568831SAndroid Build Coastguard Worker<!ELEMENT pfx:notes  ( #PCDATA | note | pfx:note )* >
4*7c568831SAndroid Build Coastguard Worker-->
5*7c568831SAndroid Build Coastguard Worker
6*7c568831SAndroid Build Coastguard Worker<!--
7*7c568831SAndroid Build Coastguard WorkerThis triggers a diagnostic:
8*7c568831SAndroid Build Coastguard Workernotes.dtd:13: validity error : Definition of notes has duplicate
9*7c568831SAndroid Build Coastguard Workerreferences of note
10*7c568831SAndroid Build Coastguard Worker<!ELEMENT pfx:notes  ( #PCDATA | pfx:note | note )* >
11*7c568831SAndroid Build Coastguard Worker-->
12*7c568831SAndroid Build Coastguard Worker
13*7c568831SAndroid Build Coastguard Worker<!ELEMENT pfx:notes  ( #PCDATA | pfx:note | note )* >
14*7c568831SAndroid Build Coastguard Worker
15*7c568831SAndroid Build Coastguard Worker<!ATTLIST notes
16*7c568831SAndroid Build Coastguard Worker	xmlns:pfx CDATA #FIXED 'http://namespace/uri/here'
17*7c568831SAndroid Build Coastguard Worker>
18*7c568831SAndroid Build Coastguard Worker<!ELEMENT note EMPTY >
19*7c568831SAndroid Build Coastguard Worker<!ELEMENT pfx:note EMPTY >
20