summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf')
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Entries61
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Repository1
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Root1
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist01.xml12
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist02.xml13
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist03.xml13
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist04.xml13
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist05.xml13
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist06.xml13
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist07.xml13
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist08.xml12
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist09.xml11
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist10.xml8
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist11.xml7
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond.dtd3
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond01.xml5
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond02.xml6
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content01.xml5
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content02.xml6
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content03.xml6
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/decl01.ent2
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/decl01.xml8
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd00.xml8
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd01.xml8
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd02.xml8
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd03.xml9
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd04.xml7
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd05.xml7
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd07.dtd7
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd07.xml4
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element00.xml3
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element01.xml3
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element02.xml4
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element03.xml5
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element04.xml4
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding01.xml2
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding02.xml3
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding03.xml3
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding04.xml3
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding05.xml3
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding06.xml5
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding07.xml10
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/not-sa03.xml12
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pi.xml6
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid01.xml9
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid02.xml10
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid03.xml10
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid04.xml10
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid05.xml8
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml01.xml7
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml02.xml4
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml03.xml4
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml04.xml12
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml05.xml12
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml06.xml11
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml07.xml6
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml08.xml7
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml09.xml8
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml10.xml7
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml11.xml7
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml12.xml8
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml13.xml11
-rw-r--r--tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/uri01.xml6
63 files changed, 513 insertions, 0 deletions
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Entries b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Entries
new file mode 100644
index 0000000..1740929
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Entries
@@ -0,0 +1,61 @@
+/attlist01.xml/1.2/Thu Feb 7 19:44:41 2002//
+/attlist02.xml/1.2/Thu Feb 7 19:44:41 2002//
+/attlist03.xml/1.2/Thu Feb 7 19:44:41 2002//
+/attlist04.xml/1.2/Thu Feb 7 19:44:41 2002//
+/attlist05.xml/1.2/Thu Feb 7 19:44:41 2002//
+/attlist06.xml/1.2/Thu Feb 7 19:44:41 2002//
+/attlist07.xml/1.2/Thu Feb 7 19:44:41 2002//
+/attlist08.xml/1.2/Thu Feb 7 19:44:41 2002//
+/attlist09.xml/1.2/Thu Feb 7 19:44:41 2002//
+/attlist10.xml/1.2/Thu Feb 7 19:44:41 2002//
+/attlist11.xml/1.2/Thu Feb 7 19:44:41 2002//
+/cond.dtd/1.2/Thu Feb 7 19:44:41 2002//
+/cond01.xml/1.2/Thu Feb 7 19:44:41 2002//
+/cond02.xml/1.2/Thu Feb 7 19:44:41 2002//
+/content01.xml/1.2/Thu Feb 7 19:44:41 2002//
+/content02.xml/1.2/Thu Feb 7 19:44:41 2002//
+/content03.xml/1.2/Thu Feb 7 19:44:41 2002//
+/decl01.ent/1.3/Tue Sep 30 15:08:39 2003//
+/decl01.xml/1.2/Thu Feb 7 19:44:41 2002//
+/dtd00.xml/1.2/Thu Feb 7 19:44:41 2002//
+/dtd01.xml/1.2/Thu Feb 7 19:44:41 2002//
+/dtd02.xml/1.2/Thu Feb 7 19:44:41 2002//
+/dtd03.xml/1.2/Thu Feb 7 19:44:41 2002//
+/dtd04.xml/1.2/Thu Feb 7 19:44:41 2002//
+/dtd05.xml/1.2/Thu Feb 7 19:44:41 2002//
+/dtd07.dtd/1.2/Thu Feb 7 19:44:41 2002//
+/dtd07.xml/1.2/Thu Feb 7 19:44:41 2002//
+/element00.xml/1.2/Thu Feb 7 19:44:41 2002//
+/element01.xml/1.2/Thu Feb 7 19:44:41 2002//
+/element02.xml/1.2/Thu Feb 7 19:44:41 2002//
+/element03.xml/1.2/Thu Feb 7 19:44:41 2002//
+/element04.xml/1.2/Thu Feb 7 19:44:41 2002//
+/encoding01.xml/1.2/Thu Feb 7 19:44:41 2002//
+/encoding02.xml/1.2/Thu Feb 7 19:44:41 2002//
+/encoding03.xml/1.2/Thu Feb 7 19:44:41 2002//
+/encoding04.xml/1.2/Thu Feb 7 19:44:41 2002//
+/encoding05.xml/1.2/Thu Feb 7 19:44:41 2002//
+/encoding06.xml/1.2/Thu Feb 7 19:44:41 2002//
+/encoding07.xml/1.2/Thu Feb 7 19:44:41 2002//
+/not-sa03.xml/1.1/Thu May 16 14:30:27 2002//
+/pi.xml/1.2/Thu Feb 7 19:44:41 2002//
+/pubid01.xml/1.2/Thu Feb 7 19:44:41 2002//
+/pubid02.xml/1.2/Thu Feb 7 19:44:41 2002//
+/pubid03.xml/1.2/Thu Feb 7 19:44:41 2002//
+/pubid04.xml/1.2/Thu Feb 7 19:44:41 2002//
+/pubid05.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml01.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml02.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml03.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml04.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml05.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml06.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml07.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml08.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml09.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml10.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml11.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml12.xml/1.2/Thu Feb 7 19:44:41 2002//
+/sgml13.xml/1.2/Thu Feb 7 19:44:41 2002//
+/uri01.xml/1.2/Thu Feb 7 19:44:41 2002//
+D
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Repository b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Repository
new file mode 100644
index 0000000..95984c5
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Repository
@@ -0,0 +1 @@
+2001/XML-Test-Suite/xmlconf/sun/not-wf
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Root b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Root
new file mode 100644
index 0000000..3c7177e
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Root
@@ -0,0 +1 @@
+:pserver:anonymous@dev.w3.org:/sources/public
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist01.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist01.xml
new file mode 100644
index 0000000..9b25d73
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist01.xml
@@ -0,0 +1,12 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- SGML-ism: illegal attribute types -->
+
+ <!ATTLIST root
+ number NUTOKEN "1"
+ >
+
+]>
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist02.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist02.xml
new file mode 100644
index 0000000..65405ca
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist02.xml
@@ -0,0 +1,13 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- SGML-ism: illegal attribute types -->
+
+ <!ATTLIST root
+ number NUTOKENS "1 2 3"
+ >
+
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist03.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist03.xml
new file mode 100644
index 0000000..a7174c9
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist03.xml
@@ -0,0 +1,13 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- SGML-ism: illegal attribute types -->
+
+ <!ATTLIST root
+ choice (a,b,c) "a"
+ >
+
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist04.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist04.xml
new file mode 100644
index 0000000..f45d656
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist04.xml
@@ -0,0 +1,13 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- SGML-ism: illegal attribute types -->
+
+ <!ATTLIST root
+ number NUMBER "1"
+ >
+
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist05.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist05.xml
new file mode 100644
index 0000000..1705e80
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist05.xml
@@ -0,0 +1,13 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- SGML-ism: illegal attribute types -->
+
+ <!ATTLIST root
+ numbers NUMBERS "1 2 3 4"
+ >
+
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist06.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist06.xml
new file mode 100644
index 0000000..84444b4
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist06.xml
@@ -0,0 +1,13 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- SGML-ism: illegal attribute types -->
+
+ <!ATTLIST root
+ number NAME "Elvis"
+ >
+
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist07.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist07.xml
new file mode 100644
index 0000000..3dd94e5
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist07.xml
@@ -0,0 +1,13 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- SGML-ism: illegal attribute types -->
+
+ <!ATTLIST root
+ number NAMES "The King"
+ >
+
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist08.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist08.xml
new file mode 100644
index 0000000..c9e54c6
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist08.xml
@@ -0,0 +1,12 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- SGML-ism: illegal attribute default -->
+
+ <!ATTLIST root
+ language CDATA #CURRENT
+ >
+
+]>
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist09.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist09.xml
new file mode 100644
index 0000000..a1faf84
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist09.xml
@@ -0,0 +1,11 @@
+<!DOCTYPE root [
+ <!-- SGML-ism: illegal attribute default -->
+
+ <!ATTLIST root
+ language CDATA #CONREF
+ >
+
+]>
+
+<root language="Dutch"/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist10.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist10.xml
new file mode 100644
index 0000000..d690200
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist10.xml
@@ -0,0 +1,8 @@
+<!DOCTYPE root [
+<!ELEMENT root ANY>
+<!ATTLIST root att1 CDATA #IMPLIED>
+<!ATTLIST root att2 CDATA #IMPLIED>
+]>
+<root att1="value1"att2="value2">
+ <!-- whitespace required between attributes -->
+</root>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist11.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist11.xml
new file mode 100644
index 0000000..67de117
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist11.xml
@@ -0,0 +1,7 @@
+<!DOCTYPE root [
+<!ELEMENT root ANY>
+<!ATTLIST root att1 CDATA #IMPLIED>
+<!ATTLIST root att2 CDATA #IMPLIED>
+]>
+<root att1="value1"att2="value2"/>
+ <!-- whitespace required between attributes -->
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond.dtd b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond.dtd
new file mode 100644
index 0000000..4b43ef7
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond.dtd
@@ -0,0 +1,3 @@
+<!-- test conditional sections -->
+<!ENTITY % MAYBE "IGNORE">
+<![%MAYBE;[ <!ENTITY root EMTPY> ]]>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond01.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond01.xml
new file mode 100644
index 0000000..5028d46
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond01.xml
@@ -0,0 +1,5 @@
+<!DOCTYPE root SYSTEM "cond.dtd" [
+ <!ENTITY % MAYBE "CDATA">
+]>
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond02.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond02.xml
new file mode 100644
index 0000000..ce4e191
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond02.xml
@@ -0,0 +1,6 @@
+<!DOCTYPE root SYSTEM "cond.dtd" [
+ <!ENTITY % MAYBE "">
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content01.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content01.xml
new file mode 100644
index 0000000..85c27dc
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content01.xml
@@ -0,0 +1,5 @@
+<!DOCTYPE root [
+ <!-- no whitespace before '?', '*', '+' -->
+ <!ELEMENT root ((root) ?)>
+]>
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content02.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content02.xml
new file mode 100644
index 0000000..1086148
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content02.xml
@@ -0,0 +1,6 @@
+<!DOCTYPE root [
+ <!-- no whitespace before '?', '*', '+' -->
+ <!ELEMENT root ((root) *)>
+]>
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content03.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content03.xml
new file mode 100644
index 0000000..c4fdff1
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content03.xml
@@ -0,0 +1,6 @@
+<!DOCTYPE root [
+ <!-- no whitespace before '?', '*', '+' -->
+ <!ELEMENT root (root +)>
+]>
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/decl01.ent b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/decl01.ent
new file mode 100644
index 0000000..65059fd
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/decl01.ent
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<!-- only documents may have standalone decls -->
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/decl01.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/decl01.xml
new file mode 100644
index 0000000..ee57cb4
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/decl01.xml
@@ -0,0 +1,8 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+ <!ENTITY % ent01 SYSTEM "decl01.ent">
+
+ <!-- the entity is an illegal PE -->
+ %ent01;
+]>
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd00.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd00.xml
new file mode 100644
index 0000000..5c3e9aa
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd00.xml
@@ -0,0 +1,8 @@
+<!DOCTYPE root [
+ <!ELEMENT root (foo, bar? foo)>
+ <!-- comma omitted -->
+ <!ELEMENT foo EMPTY>
+ <!ELEMENT bar EMPTY>
+]>
+
+<root> <foo/> <foo/> </root>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd01.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd01.xml
new file mode 100644
index 0000000..3af805c
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd01.xml
@@ -0,0 +1,8 @@
+<!DOCTYPE root [
+ <!ELEMENT root (foo, bar? | foo)>
+ <!-- comma swapped for vertical bar -->
+ <!ELEMENT foo EMPTY>
+ <!ELEMENT bar EMPTY>
+]>
+
+<root> <foo/> <foo/> </root>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd02.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd02.xml
new file mode 100644
index 0000000..da2c639
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd02.xml
@@ -0,0 +1,8 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+ <!-- correct PE ref syntax -->
+ <!ENTITY % foo "<!ATTLIST root>">
+ % foo;
+]>
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd03.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd03.xml
new file mode 100644
index 0000000..6f5234a
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd03.xml
@@ -0,0 +1,9 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+ <!-- correct PE ref syntax -->
+ <!ENTITY % foo "<!ATTLIST root>">
+ %foo
+ ;
+]>
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd04.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd04.xml
new file mode 100644
index 0000000..4acb0c2
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd04.xml
@@ -0,0 +1,7 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+ <!-- PUBLIC id must be quoted -->
+ <!ENTITY foo PUBLIC -//BadCorp//DTD-foo-1.0//EN "elvis.ent">
+]>
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd05.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd05.xml
new file mode 100644
index 0000000..2d4c8cf
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd05.xml
@@ -0,0 +1,7 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+ <!-- SYSTEM id must be quoted -->
+ <!ENTITY foo SYSTEM elvis.ent>
+]>
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd07.dtd b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd07.dtd
new file mode 100644
index 0000000..7acb91f
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd07.dtd
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<!--
+ "encoding=..." is mandatory in text declarations.
+
+ All external entities (parameter, general) have optional text
+ declarations; only the document entity may omit this declaration.
+-->
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd07.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd07.xml
new file mode 100644
index 0000000..921ed63
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd07.xml
@@ -0,0 +1,4 @@
+<!DOCTYPE root SYSTEM "dtd07.dtd" [
+ <!ELEMENT root EMPTY>
+]>
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element00.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element00.xml
new file mode 100644
index 0000000..4d7a011
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element00.xml
@@ -0,0 +1,3 @@
+<root>
+ Incomplete end tag.
+</ro \ No newline at end of file
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element01.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element01.xml
new file mode 100644
index 0000000..c1796cc
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element01.xml
@@ -0,0 +1,3 @@
+<root>
+ Incomplete end tag.
+</root \ No newline at end of file
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element02.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element02.xml
new file mode 100644
index 0000000..da038dd
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element02.xml
@@ -0,0 +1,4 @@
+<!DOCTYPE html [ <!ELEMENT html ANY> ]>
+<html>
+ <% @ LANGUAGE="VBSCRIPT" %>
+</html>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element03.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element03.xml
new file mode 100644
index 0000000..eb0c93a
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element03.xml
@@ -0,0 +1,5 @@
+<!DOCTYPE html [ <!ELEMENT html ANY> ]>
+<html>
+ <% document.println ("hello, world"); %>
+</html>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element04.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element04.xml
new file mode 100644
index 0000000..7f639c2
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element04.xml
@@ -0,0 +1,4 @@
+<!DOCTYPE root [ <!ELEMENT root ANY> ]>
+<root>
+ <!ELEMENT foo EMPTY>
+</root>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding01.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding01.xml
new file mode 100644
index 0000000..5ef3915
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding01.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding=" utf-8"?>
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding02.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding02.xml
new file mode 100644
index 0000000..b6ebbb4
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding02.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="a/b"?>
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding03.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding03.xml
new file mode 100644
index 0000000..be6cc1a
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding03.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="just&#41;word"?>
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding04.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding04.xml
new file mode 100644
index 0000000..dbecbcd
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding04.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf:8"?>
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding05.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding05.xml
new file mode 100644
index 0000000..94edbfb
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding05.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="@import(sys-encoding)"?>
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding06.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding06.xml
new file mode 100644
index 0000000..ee1a699
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding06.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="XYZ+999"?>
+
+<!-- WF ... but illegal encoding name, also a fatal error -->
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding07.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding07.xml
new file mode 100644
index 0000000..cd225c5
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding07.xml
@@ -0,0 +1,10 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!--
+ reusing this entity; it's got no markup decls,
+ so it's legal except for a missing "encoding=...".
+ -->
+ <!ENTITY empty SYSTEM "dtd07.dtd">
+]>
+<root>&empty;</root>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/not-sa03.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/not-sa03.xml
new file mode 100644
index 0000000..6f1fb4b
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/not-sa03.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' standalone='yes'?>
+
+<!DOCTYPE attributes SYSTEM "../valid/sa.dtd" [
+ <!--
+ External entity ref
+ -->
+]>
+
+<attributes
+ token = "b"
+ id = "external-&number;"
+ />
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pi.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pi.xml
new file mode 100644
index 0000000..c50a0f0
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pi.xml
@@ -0,0 +1,6 @@
+<!DOCTYPE root [
+<!ELEMENT root EMPTY>
+<!-- space before PI data and ?> -->
+<?bad-pi+?>
+]>
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid01.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid01.xml
new file mode 100644
index 0000000..4df57fd
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid01.xml
@@ -0,0 +1,9 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- illegal public ID characters -->
+
+ <!ENTITY e PUBLIC "this isn&apos;t allowed" "ignored">
+]>
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid02.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid02.xml
new file mode 100644
index 0000000..c1a0da1
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid02.xml
@@ -0,0 +1,10 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- illegal public ID characters -->
+
+ <!ENTITY e PUBLIC "<illegal>" "ignored">
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid03.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid03.xml
new file mode 100644
index 0000000..55b074c
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid03.xml
@@ -0,0 +1,10 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- illegal public ID characters -->
+
+ <!ENTITY e PUBLIC "[illegal]" "ignored">
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid04.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid04.xml
new file mode 100644
index 0000000..fd268aa
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid04.xml
@@ -0,0 +1,10 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- illegal public ID characters -->
+
+ <!ENTITY e PUBLIC "{ illegal }" "ignored">
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid05.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid05.xml
new file mode 100644
index 0000000..a0e8bdd
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid05.xml
@@ -0,0 +1,8 @@
+<!DOCTYPE root [
+
+ <!-- SGML-ism: publid ID without system ID -->
+
+ <!ENTITY e PUBLIC "this is not allowed">
+]>
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml01.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml01.xml
new file mode 100644
index 0000000..83fa98c
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml01.xml
@@ -0,0 +1,7 @@
+<!DOCTYPE root [
+ <!ELEMENT root EMPTY>
+
+ <!-- SGML-ism: omitted end tag -->
+]>
+
+<root>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml02.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml02.xml
new file mode 100644
index 0000000..a22d740
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml02.xml
@@ -0,0 +1,4 @@
+ <?xml version="1.0"?>
+ <!-- SGML-ism: XML PI not at beginning -->
+<!DOCTYPE root [ <!ELEMENT root EMPTY> ]>
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml03.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml03.xml
new file mode 100644
index 0000000..78b4aa8
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml03.xml
@@ -0,0 +1,4 @@
+<!DOCTYPE root [ <!ELEMENT root EMPTY> ]>
+
+ <!-- SGML-ism: -- inside comment -->
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml04.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml04.xml
new file mode 100644
index 0000000..36f863c
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml04.xml
@@ -0,0 +1,12 @@
+<!DOCTYPE root [
+ <!-- SGML-ism: multiple attlist types -->
+
+ <!ELEMENT root EMPTY>
+ <!ELEMENT branch EMPTY>
+
+ <!ATTLIST (root|branch)
+ TreeType CDATA #REQUIRED
+ >
+]>
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml05.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml05.xml
new file mode 100644
index 0000000..9021795
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml05.xml
@@ -0,0 +1,12 @@
+<!DOCTYPE root [
+ <!-- SGML-ism: multiple element types -->
+
+ <!ELEMENT root EMPTY>
+ <!ELEMENT leaves EMPTY>
+ <!ELEMENT branch EMPTY>
+
+ <!ELEMENT (bush|tree) (root,leaves,branch)>
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml06.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml06.xml
new file mode 100644
index 0000000..8ce6b55
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml06.xml
@@ -0,0 +1,11 @@
+<!DOCTYPE root [
+ <!-- Web-SGML-ism: global attlist types -->
+
+ <!ELEMENT root EMPTY>
+
+ <!ATTLIST #ALL
+ TreeType CDATA #REQUIRED
+ >
+]>
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml07.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml07.xml
new file mode 100644
index 0000000..4622b83
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml07.xml
@@ -0,0 +1,6 @@
+<!DOCTYPE root [
+ <!-- SGML-ism: omitted tag minimzation spec -->
+ <!ELEMENT root - o EMPTY>
+]>
+
+<root/>
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml08.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml08.xml
new file mode 100644
index 0000000..5cf457c
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml08.xml
@@ -0,0 +1,7 @@
+<!DOCTYPE root [
+ <!-- SGML-ism: omitted tag minimzation spec -->
+ <!ELEMENT root - - EMPTY>
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml09.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml09.xml
new file mode 100644
index 0000000..d943ce9a
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml09.xml
@@ -0,0 +1,8 @@
+<!DOCTYPE root [
+ <!-- SGML-ism: exception spec -->
+
+ <!ELEMENT footnote (para*) -footnote>
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml10.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml10.xml
new file mode 100644
index 0000000..ba03a03
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml10.xml
@@ -0,0 +1,7 @@
+<!DOCTYPE root [
+ <!-- SGML-ism: exception spec -->
+ <!ELEMENT section (header,(para|section))* +(annotation|todo)>
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml11.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml11.xml
new file mode 100644
index 0000000..6d8e4a2
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml11.xml
@@ -0,0 +1,7 @@
+<!DOCTYPE root [
+ <!-- SGML-ism: CDATA content type -->
+ <!ELEMENT ROOT CDATA>
+]>
+
+<root/>
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml12.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml12.xml
new file mode 100644
index 0000000..e2f0b2e
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml12.xml
@@ -0,0 +1,8 @@
+<!DOCTYPE root [
+ <!-- SGML-ism: RCDATA content type -->
+ <!ELEMENT ROOT RCDATA>
+]>
+
+<root/>
+
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml13.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml13.xml
new file mode 100644
index 0000000..97e9702
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml13.xml
@@ -0,0 +1,11 @@
+<!DOCTYPE root [
+ <!-- SGML-ism: unordered content type -->
+ <!ELEMENT ROOT (a & b & c)>
+ <!ELEMENT a EMPTY>
+ <!ELEMENT b EMPTY>
+ <!ELEMENT c EMPTY>
+]>
+
+<root><b/><c/><a/></root>
+
+
diff --git a/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/uri01.xml b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/uri01.xml
new file mode 100644
index 0000000..c15ceb4
--- /dev/null
+++ b/tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/uri01.xml
@@ -0,0 +1,6 @@
+<!DOCTYPE root [
+<!ELEMENT root EMPTY>
+<!-- URI fragments disallowed -->
+<!ENTITY foo SYSTEM "foo#bar">
+]>
+<root/>