summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/attr04.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/attr04.xml')
-rw-r--r--tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/attr04.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/attr04.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/attr04.xml
new file mode 100644
index 0000000000..cbe62af83a
--- /dev/null
+++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/attr04.xml
@@ -0,0 +1,12 @@
+<!DOCTYPE root [
+<!ELEMENT root EMPTY>
+<!ATTLIST root
+ type NOTATION (fruit | vegetable) #REQUIRED
+ >
+<!NOTATION fruit
+ PUBLIC "-//International Grocery Consortium//Edible//Healthy//EN">
+
+ <!-- tests the 'all notation names in the declaration must
+ be declared' part of the "Notation Attributes" VC -->
+]>
+<root type="fruit"/>