diff options
Diffstat (limited to 'tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56')
26 files changed, 190 insertions, 0 deletions
diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/CVS/Entries b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/CVS/Entries new file mode 100644 index 0000000000..02553a9c25 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/CVS/Entries @@ -0,0 +1,11 @@ +/ibm56v01.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v02.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v03.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v04.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v05.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v06.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v07.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v08.xml/1.2/Mon Mar 25 16:11:14 2002// +/ibm56v09.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v10.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +D/out//// diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/CVS/Repository b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/CVS/Repository new file mode 100644 index 0000000000..9c04dcc542 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/CVS/Repository @@ -0,0 +1 @@ +2001/XML-Test-Suite/xmlconf/ibm/valid/P56 diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/CVS/Root b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/CVS/Root new file mode 100644 index 0000000000..3c7177e4bb --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@dev.w3.org:/sources/public diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v01.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v01.xml new file mode 100644 index 0000000000..2e462b7cca --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v01.xml @@ -0,0 +1,21 @@ +<?xml version="1.0"?>
+<!-- valid test for Production 56-->
+<!DOCTYPE root
+ [
+ <!ELEMENT root (a|b|c|d|e|f|g)*>
+ <!ELEMENT a EMPTY>
+ <!ELEMENT b EMPTY>
+ <!ELEMENT c EMPTY>
+ <!ELEMENT d EMPTY>
+ <!ELEMENT e EMPTY>
+ <!ELEMENT f EMPTY>
+ <!ELEMENT g EMPTY>
+ <!ATTLIST a attr ID #IMPLIED>
+ <!ATTLIST b attr IDREF #IMPLIED>
+ <!ATTLIST c attr IDREFS #IMPLIED>
+ <!ATTLIST d attr ENTITY #IMPLIED>
+ <!ATTLIST e attr ENTITIES #IMPLIED>
+ <!ATTLIST f attr NMTOKEN #IMPLIED>
+ <!ATTLIST g attr NMTOKENS #IMPLIED>
+ ]>
+<root/>
diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v02.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v02.xml new file mode 100644 index 0000000000..6007abcee4 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v02.xml @@ -0,0 +1,11 @@ +<?xml version="1.0"?>
+<!-- validity constraint check for Production 56(Positive Test)-->
+<!DOCTYPE tokenizer
+ [
+ <!ELEMENT tokenizer ANY>
+ <!ATTLIST tokenizer UniqueName ID #REQUIRED>
+ ]>
+<tokenizer UniqueName = "AC1999">
+This is a positive test for validity constraints
+Giving a unique name to the attribute ID an ID Attribute default as #required
+</tokenizer>
diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v03.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v03.xml new file mode 100644 index 0000000000..bb8dfb12e7 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v03.xml @@ -0,0 +1,11 @@ +<?xml version="1.0"?>
+<!-- validity constraint check for Production 56(Positive Test)-->
+<!DOCTYPE tokenizer
+ [
+ <!ELEMENT tokenizer ANY>
+ <!ATTLIST tokenizer UniqueName ID #IMPLIED>
+ ]>
+<tokenizer UniqueName = "AC1999">
+This is a positive test for validity constraints
+Giving ID attribute default as #IMPLIED
+</tokenizer>
\ No newline at end of file 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>
diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v05.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v05.xml new file mode 100644 index 0000000000..69b064a6ef --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v05.xml @@ -0,0 +1,16 @@ +<?xml version="1.0"?>
+<!-- validity constraint check for Production 56(positive Test)-->
+<!DOCTYPE tokenizer
+ [
+ <!ELEMENT tokenizer ANY>
+ <!ELEMENT a EMPTY>
+ <!ELEMENT b EMPTY>
+ <!ATTLIST a first ID #REQUIRED>
+ <!ATTLIST b second ID #REQUIRED>
+ ]>
+<tokenizer>
+<a first = "AC1999"></a>
+<b second = "CD345"></b>
+This is a positive validity test for ID.
+any element type has no more than one attribute of type ID specified
+</tokenizer>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v06.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v06.xml new file mode 100644 index 0000000000..161965d790 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v06.xml @@ -0,0 +1,18 @@ +<?xml version="1.0"?>
+<!-- validity constraint check for Production 56(Positive Test)-->
+<!DOCTYPE test
+ [
+ <!ELEMENT test ANY>
+ <!ELEMENT id EMPTY>
+ <!ELEMENT idref EMPTY>
+ <!ATTLIST id UniqueName ID #REQUIRED>
+ <!ATTLIST idref reference IDREF #IMPLIED>
+ ]>
+<test>
+<id UniqueName = "AC456"></id>
+<idref reference = "AC456"></idref>
+Positive test for validity constraint of IDREF.
+In an attribute decl, values of type IDREF match tha name production
+and the IDREF value matches the value assigned to an ID attribute somewhere
+in the XML document.
+</test>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v07.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v07.xml new file mode 100644 index 0000000000..d238abc2fe --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v07.xml @@ -0,0 +1,21 @@ +<?xml version="1.0"?>
+<!-- validity constraint check for Production 56(Positive Test)-->
+<!DOCTYPE test
+ [
+ <!ELEMENT test ANY>
+ <!ELEMENT id1 EMPTY>
+ <!ELEMENT id2 EMPTY>
+ <!ELEMENT idref EMPTY>
+ <!ATTLIST id1 UniqueName ID #REQUIRED>
+ <!ATTLIST id2 UName ID #IMPLIED>
+ <!ATTLIST idref reference IDREFS #IMPLIED>
+ ]>
+<test>
+<id1 UniqueName = "AC456"></id1>
+<id2 UName = "Q123"></id2>
+<idref reference = "AC456 Q123"></idref>
+Positive test for validity constraint of IDREFS.
+In an attribute decl, values of type IDREFS match tha name production
+and the IDREFS value matches the values assigned to an ID attributes somewhere
+in the XML document.
+</test>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v08.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v08.xml new file mode 100644 index 0000000000..865723c71c --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v08.xml @@ -0,0 +1,15 @@ +<?xml version="1.0"?>
+<!-- validity constraint check for Production 56(Positive Test)it is a DTD-->
+<!DOCTYPE test
+ [
+ <!ELEMENT test ANY>
+ <!ELEMENT landscape EMPTY>
+ <!NOTATION gif PUBLIC "gif">
+ <!ENTITY image SYSTEM "testspec/images/sunset.gif" NDATA gif>
+ <!ATTLIST landscape sun ENTITY #IMPLIED>
+]>
+<test>
+<landscape sun = "image"></landscape>
+values of type ENTITY match the Name production and the ENTITY value
+matches the name of an unparsed entity declared in the DTD.
+</test>
diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v09.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v09.xml new file mode 100644 index 0000000000..aa62050e66 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v09.xml @@ -0,0 +1,12 @@ +<?xml version="1.0"?>
+<!-- validity constraint check for Production 56(Positive 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 match the Nmtoken production
+</test>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v10.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v10.xml new file mode 100644 index 0000000000..116fa3bc96 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/ibm56v10.xml @@ -0,0 +1,12 @@ +<?xml version="1.0"?>
+<!-- validity constraint check for Production 56(Positive Test)-->
+<!DOCTYPE test
+ [
+ <!ELEMENT test ANY>
+ <!ELEMENT nametokens EMPTY>
+ <!ATTLIST nametokens thistoken NMTOKENS #IMPLIED>
+]>
+<test>
+<nametokens thistoken = "x:lang y:country"></nametokens>
+In an attribute declaration, values of type NMTOKENS match the Nmtokens production
+</test>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/CVS/Entries b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/CVS/Entries new file mode 100644 index 0000000000..f5f1df8dc7 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/CVS/Entries @@ -0,0 +1,11 @@ +/ibm56v01.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v02.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v03.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v04.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v05.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v06.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v07.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v08.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v09.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ibm56v10.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +D diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/CVS/Repository b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/CVS/Repository new file mode 100644 index 0000000000..92176f76d7 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/CVS/Repository @@ -0,0 +1 @@ +2001/XML-Test-Suite/xmlconf/ibm/valid/P56/out diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/CVS/Root b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/CVS/Root new file mode 100644 index 0000000000..3c7177e4bb --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@dev.w3.org:/sources/public diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v01.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v01.xml new file mode 100644 index 0000000000..ef2fc53c2f --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v01.xml @@ -0,0 +1 @@ +<root></root>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v02.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v02.xml new file mode 100644 index 0000000000..2be8a006a6 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v02.xml @@ -0,0 +1 @@ +<tokenizer UniqueName="AC1999"> This is a positive test for validity constraints Giving a unique name to the attribute ID an ID Attribute default as #required </tokenizer>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v03.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v03.xml new file mode 100644 index 0000000000..6e8f3e88be --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v03.xml @@ -0,0 +1 @@ +<tokenizer UniqueName="AC1999"> This is a positive test for validity constraints Giving ID attribute default as #IMPLIED </tokenizer>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v04.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v04.xml new file mode 100644 index 0000000000..90cb82cd27 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v04.xml @@ -0,0 +1 @@ +<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>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v05.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v05.xml new file mode 100644 index 0000000000..b737215b79 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v05.xml @@ -0,0 +1 @@ +<tokenizer> <a first="AC1999"></a> <b second="CD345"></b> This is a positive validity test for ID. any element type has no more than one attribute of type ID specified </tokenizer>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v06.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v06.xml new file mode 100644 index 0000000000..1ffda9358d --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v06.xml @@ -0,0 +1 @@ +<test> <id UniqueName="AC456"></id> <idref reference="AC456"></idref> Positive test for validity constraint of IDREF. In an attribute decl, values of type IDREF match tha name production and the IDREF value matches the value assigned to an ID attribute somewhere in the XML document. </test>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v07.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v07.xml new file mode 100644 index 0000000000..f42ed2ce33 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v07.xml @@ -0,0 +1 @@ +<test> <id1 UniqueName="AC456"></id1> <id2 UName="Q123"></id2> <idref reference="AC456 Q123"></idref> Positive test for validity constraint of IDREFS. In an attribute decl, values of type IDREFS match tha name production and the IDREFS value matches the values assigned to an ID attributes somewhere in the XML document. </test>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v08.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v08.xml new file mode 100644 index 0000000000..8736918882 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v08.xml @@ -0,0 +1,4 @@ +<!DOCTYPE test [ +<!NOTATION gif PUBLIC 'gif'> +]> +<test> <landscape sun="image"></landscape> values of type ENTITY match the Name production and the ENTITY value matches the name of an unparsed entity declared in the DTD. </test>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v09.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v09.xml new file mode 100644 index 0000000000..59630c40d9 --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v09.xml @@ -0,0 +1 @@ +<test> <nametoken thistoken="x:image"></nametoken> In an attribute declaration, values of type NMTOKEN match the Nmtoken production </test>
\ No newline at end of file diff --git a/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v10.xml b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v10.xml new file mode 100644 index 0000000000..1baf6fbb8e --- /dev/null +++ b/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P56/out/ibm56v10.xml @@ -0,0 +1 @@ +<test> <nametokens thistoken="x:lang y:country"></nametokens> In an attribute declaration, values of type NMTOKENS match the Nmtokens production </test>
\ No newline at end of file |