diff options
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf')
63 files changed, 513 insertions, 0 deletions
diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Entries b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Entries new file mode 100644 index 0000000000..174092983f --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Repository b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Repository new file mode 100644 index 0000000000..95984c5f42 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Root b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/CVS/Root new file mode 100644 index 0000000000..3c7177e4bb --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist01.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist01.xml new file mode 100644 index 0000000000..9b25d73aa1 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist02.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist02.xml new file mode 100644 index 0000000000..65405ca701 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist03.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist03.xml new file mode 100644 index 0000000000..a7174c9146 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist04.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist04.xml new file mode 100644 index 0000000000..f45d656f63 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist05.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist05.xml new file mode 100644 index 0000000000..1705e80db2 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist06.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist06.xml new file mode 100644 index 0000000000..84444b4c9f --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist07.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist07.xml new file mode 100644 index 0000000000..3dd94e5926 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist08.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist08.xml new file mode 100644 index 0000000000..c9e54c6a53 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist09.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist09.xml new file mode 100644 index 0000000000..a1faf84494 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist10.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist10.xml new file mode 100644 index 0000000000..d690200c65 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist11.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/attlist11.xml new file mode 100644 index 0000000000..67de117714 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond.dtd b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond.dtd new file mode 100644 index 0000000000..4b43ef7a05 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond01.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond01.xml new file mode 100644 index 0000000000..5028d46e99 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond02.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/cond02.xml new file mode 100644 index 0000000000..ce4e191c32 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content01.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content01.xml new file mode 100644 index 0000000000..85c27dc874 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content02.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content02.xml new file mode 100644 index 0000000000..1086148a87 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content03.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/content03.xml new file mode 100644 index 0000000000..c4fdff1f81 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/decl01.ent b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/decl01.ent new file mode 100644 index 0000000000..65059fdc85 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/decl01.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/decl01.xml new file mode 100644 index 0000000000..ee57cb4d80 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd00.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd00.xml new file mode 100644 index 0000000000..5c3e9aa236 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd01.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd01.xml new file mode 100644 index 0000000000..3af805c7b1 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd02.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd02.xml new file mode 100644 index 0000000000..da2c6394fc --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd03.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd03.xml new file mode 100644 index 0000000000..6f5234a955 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd04.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd04.xml new file mode 100644 index 0000000000..4acb0c2fee --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd05.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd05.xml new file mode 100644 index 0000000000..2d4c8cf889 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd07.dtd b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd07.dtd new file mode 100644 index 0000000000..7acb91f11f --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd07.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/dtd07.xml new file mode 100644 index 0000000000..921ed63a4e --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element00.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element00.xml new file mode 100644 index 0000000000..4d7a0110ff --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element01.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element01.xml new file mode 100644 index 0000000000..c1796ccbdc --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element02.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element02.xml new file mode 100644 index 0000000000..da038ddae6 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element03.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element03.xml new file mode 100644 index 0000000000..eb0c93ad49 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element04.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/element04.xml new file mode 100644 index 0000000000..7f639c22fb --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding01.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding01.xml new file mode 100644 index 0000000000..5ef3915a0c --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding02.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding02.xml new file mode 100644 index 0000000000..b6ebbb4a8e --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding03.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding03.xml new file mode 100644 index 0000000000..be6cc1a511 --- /dev/null +++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding03.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="just)word"?> +<root/> + diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding04.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding04.xml new file mode 100644 index 0000000000..dbecbcdd11 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding05.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding05.xml new file mode 100644 index 0000000000..94edbfbc27 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding06.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding06.xml new file mode 100644 index 0000000000..ee1a699e34 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding07.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/encoding07.xml new file mode 100644 index 0000000000..cd225c577e --- /dev/null +++ b/tests/auto/corelib/serialization/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>∅</root> diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/not-sa03.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/not-sa03.xml new file mode 100644 index 0000000000..6f1fb4ba92 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pi.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pi.xml new file mode 100644 index 0000000000..c50a0f088c --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid01.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid01.xml new file mode 100644 index 0000000000..4df57fd534 --- /dev/null +++ b/tests/auto/corelib/serialization/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't allowed" "ignored"> +]> + +<root/> diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid02.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid02.xml new file mode 100644 index 0000000000..c1a0da162c --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid03.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid03.xml new file mode 100644 index 0000000000..55b074c9af --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid04.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid04.xml new file mode 100644 index 0000000000..fd268aa07a --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid05.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/pubid05.xml new file mode 100644 index 0000000000..a0e8bdd94a --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml01.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml01.xml new file mode 100644 index 0000000000..83fa98ccf1 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml02.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml02.xml new file mode 100644 index 0000000000..a22d74086a --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml03.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml03.xml new file mode 100644 index 0000000000..78b4aa8e9c --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml04.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml04.xml new file mode 100644 index 0000000000..36f863c917 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml05.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml05.xml new file mode 100644 index 0000000000..90217955e7 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml06.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml06.xml new file mode 100644 index 0000000000..8ce6b55680 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml07.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml07.xml new file mode 100644 index 0000000000..4622b83ba5 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml08.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml08.xml new file mode 100644 index 0000000000..5cf457c078 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml09.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml09.xml new file mode 100644 index 0000000000..d943ce9a9f --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml10.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml10.xml new file mode 100644 index 0000000000..ba03a03915 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml11.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml11.xml new file mode 100644 index 0000000000..6d8e4a2794 --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml12.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml12.xml new file mode 100644 index 0000000000..e2f0b2e57c --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml13.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/sgml13.xml new file mode 100644 index 0000000000..97e9702eda --- /dev/null +++ b/tests/auto/corelib/serialization/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/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/uri01.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/not-wf/uri01.xml new file mode 100644 index 0000000000..c15ceb4960 --- /dev/null +++ b/tests/auto/corelib/serialization/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/> |