diff options
Diffstat (limited to 'tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P60/ibm60i02.xml')
-rw-r--r-- | tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P60/ibm60i02.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P60/ibm60i02.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P60/ibm60i02.xml new file mode 100644 index 0000000..1b891d8 --- /dev/null +++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/ibm/invalid/P60/ibm60i02.xml @@ -0,0 +1,15 @@ +<?xml version="1.0"?>
+<!-- validity test for Production 60-->
+<!DOCTYPE Java
+ [
+ <!ELEMENT Java ANY>
+ <!ELEMENT one EMPTY>
+ <!ATTLIST one chapter CDATA #FIXED "Introduction">
+ ]>
+<Java>
+<one chapter="JavaBeans"></one>
+Negative Test
+An attribute has a default value declared with the #FIXED keyword,
+and an instances of that attribute is given a value which is not
+the same as the default value in the declaration.
+</Java>
|