summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/attr02.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/attr02.xml')
-rw-r--r--tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/attr02.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/attr02.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/attr02.xml
new file mode 100644
index 0000000000..b9f2461ea5
--- /dev/null
+++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/invalid/attr02.xml
@@ -0,0 +1,12 @@
+<!DOCTYPE root [
+<!ELEMENT root EMPTY>
+<!ATTLIST root
+ affiliated ENTITIES #REQUIRED
+ >
+ <!-- tests the "entity name" VC ... the "entity declared" clause,
+ as applied to attributes of type ENTITIES -->
+<!NOTATION fruit
+ PUBLIC "-//International Grocery Consortium//Edible//Healthy//EN">
+<!ENTITY apple SYSTEM "http://www.apple.com" NDATA fruit>
+]>
+<root affiliated="apple apple food"/>