File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / valid / dtds / notes.dtd
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:38:00 2012 UTC (12 years, 6 months ago) by misho
Branches: libxml2, MAIN
CVS tags: v2_9_1p0, v2_9_1, v2_8_0p0, v2_8_0, v2_7_8, HEAD
libxml2

    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 >

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>