diff options
Diffstat (limited to 'tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P56/ibm56i14.xml')
-rw-r--r-- | tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P56/ibm56i14.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P56/ibm56i14.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P56/ibm56i14.xml new file mode 100644 index 0000000..9b4b343 --- /dev/null +++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P56/ibm56i14.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?>
+<!-- validity constraint check for Production 56(Negative test)-->
+<!DOCTYPE test
+ [
+ <!ELEMENT test ANY>
+ <!ELEMENT landscape EMPTY>
+ <!ENTITY image1 SYSTEM "d:\testspec\images\sunset.gif" NDATA gif>
+ <!ENTITY image2 SYSTEM "d:\testspec\images\frontpage.gif" NDATA gif>
+ <!ATTLIST landscape sun ENTITIES #IMPLIED>
+]>
+<test>
+<landscape sun = "#image1 @image"></landscape>
+In an attribute declaration, values of type ENTITIES do not match the Name production.
+</test>
\ No newline at end of file |