Branch
Hash :
a721612e
Author :
Date :
2009-08-21T18:22:58
446613 small validation bug mixed content with NS * valid.c: fix a bug when valdating mixed content lists and some name use namespaces prefixes. * result/valid/notes.xml* test/valid/dtds/notes.dtd * test/valid/notes.xml: add the test case to the regression suite
<!--
This gets parsed without complaint:
<!ELEMENT pfx:notes ( #PCDATA | note | pfx:note )* >
-->
<!--
This triggers a diagnostic:
notes.dtd:13: validity error : Definition of notes has duplicate
references of note
<!ELEMENT pfx:notes ( #PCDATA | pfx:note | note )* >
-->
<!ELEMENT pfx:notes ( #PCDATA | pfx:note | note )* >
<!ATTLIST notes
xmlns:pfx CDATA #FIXED 'http://namespace/uri/here'
>
<!ELEMENT note EMPTY >
<!ELEMENT pfx:note EMPTY >