diff options
Diffstat (limited to 'tests/auto/qxmlstream/XML-Test-Suite/xmlconf/eduni/errata-3e/E06i.xml')
-rw-r--r-- | tests/auto/qxmlstream/XML-Test-Suite/xmlconf/eduni/errata-3e/E06i.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/eduni/errata-3e/E06i.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/eduni/errata-3e/E06i.xml new file mode 100644 index 0000000..dd79ee2 --- /dev/null +++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/eduni/errata-3e/E06i.xml @@ -0,0 +1,12 @@ +<!-- Non-syntactic validity errors in default attributes only happen if the attribute is in fact defaulted. --> +<!DOCTYPE foo [ +<!ELEMENT foo ANY> +<!ATTLIST foo id ID #IMPLIED> +<!ATTLIST foo ref IDREF "undef"> +<!ATTLIST foo ent ENTITY "undef"> +<!-- can't test NOTATION attribute, because if it's undeclared then we'll + get an error for one of the enumerated values being undeclared. --> +<!ENTITY ent SYSTEM "foo" NDATA not> +<!NOTATION not SYSTEM "not"> +]> +<foo id="g0034" ref="g0034" ent="ent"/> |