summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v04.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v04.xml')
-rw-r--r--tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v04.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v04.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v04.xml
new file mode 100644
index 0000000000..ed8e74d1a0
--- /dev/null
+++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v04.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<!-- validity constraint check for Production 56(positive Test)-->
+<!DOCTYPE tokenizer
+ [
+ <!ELEMENT tokenizer ANY>
+ <!ELEMENT b EMPTY>
+ <!ATTLIST b attr ID #REQUIRED>
+ <!ATTLIST tokenizer UniqueName ID #REQUIRED>
+ ]>
+<tokenizer UniqueName = "Ac999">
+<b attr = "BC999"></b>
+This is a positive test for validity constraints
+the value of the attribute with a type ID does not appear more than once in the XML document
+</tokenizer>