diff options
Diffstat (limited to 'tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P56/ibm56i17.xml')
-rw-r--r-- | tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P56/ibm56i17.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P56/ibm56i17.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P56/ibm56i17.xml new file mode 100644 index 0000000..01162df --- /dev/null +++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P56/ibm56i17.xml @@ -0,0 +1,12 @@ +<?xml version="1.0"?>
+<!-- validity constraint check for Production 56(Negative Test)-->
+<!DOCTYPE test
+ [
+ <!ELEMENT test ANY>
+ <!ELEMENT nametoken EMPTY>
+ <!ATTLIST nametoken thistoken NMTOKEN #IMPLIED>
+]>
+<test>
+<nametoken thistoken = "x : image"></nametoken>
+In an attribute declaration, values of type NMTOKEN does not match the Nmtoken production
+</test>
\ No newline at end of file |