diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-12-12 18:32:19 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-01-26 20:59:50 +0000 |
commit | a6b697ca13945a174cff9f3e9b1af1cf61c0bea5 (patch) | |
tree | 78d5fad97ff8e89f079df29cc5a75b4e7197bfc7 /tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc | |
parent | 657894624521b580f59ff5f58b9c0e9be159dc1c (diff) |
Create corelib/serialization and move existing file formats into it
This is in preparation to adding CBOR support. We don't need yet another
dir for CBOR and placing it in src/corelib/json is just wrong.
Change-Id: I9741f017961b410c910dfffd14ffb9d870340fa6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc')
6 files changed, 43 insertions, 0 deletions
diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/432gewf.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/432gewf.xml new file mode 100644 index 0000000000..51515865c0 --- /dev/null +++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/432gewf.xml @@ -0,0 +1,12 @@ +<!DOCTYPE student [
+ <!ELEMENT student (#PCDATA)>
+ <!ENTITY gewithElemnetDecl "<!ELEMENT bogus ANY>">
+ <!ATTLIST student att1 CDATA #REQUIRED>
+]>
+<!--* This test is to test the GE well-formedness
+ constraints in Section 4.3.2:
+ An internal general parsed encith is well-formed if
+ its replacement text matches the production labeled
+ "content" *-->
+<?MyInstruct This is a test ?>
+<student att1="ibm">My Name is SnowMan. </student>
\ No newline at end of file diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/CVS/Entries b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/CVS/Entries new file mode 100644 index 0000000000..9ada44c04f --- /dev/null +++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/CVS/Entries @@ -0,0 +1,4 @@ +/432gewf.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/ltinentval.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +/simpleltinentval.xml/1.1.1.1/Wed Oct 17 09:52:57 2001// +D diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/CVS/Repository b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/CVS/Repository new file mode 100644 index 0000000000..ceb8cec477 --- /dev/null +++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/CVS/Repository @@ -0,0 +1 @@ +2001/XML-Test-Suite/xmlconf/ibm/not-wf/misc diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/CVS/Root b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/CVS/Root new file mode 100644 index 0000000000..3c7177e4bb --- /dev/null +++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@dev.w3.org:/sources/public diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/ltinentval.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/ltinentval.xml new file mode 100644 index 0000000000..929bd7f9c0 --- /dev/null +++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/ltinentval.xml @@ -0,0 +1,11 @@ +<!DOCTYPE student [
+ <!ELEMENT student (#PCDATA)>
+ <!ENTITY gewithlt "abcd&#x3c;">
+ <!ATTLIST student att1 CDATA #REQUIRED>
+]>
+<--* this is to test "<" can not be included in an entity
+ that is referenced in AttValue, even indirectly *-->
+
+
+<?MyInstruct This is a test ?>
+<student att1="&gewithlt;">My Name is SnowMan. </student>
diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/simpleltinentval.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/simpleltinentval.xml new file mode 100644 index 0000000000..a668e4c3f5 --- /dev/null +++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/not-wf/misc/simpleltinentval.xml @@ -0,0 +1,14 @@ +<!DOCTYPE student [
+ <!ELEMENT student (#PCDATA)>
+ <!ENTITY gewithlt "abcd<">
+ <!ATTLIST student att1 CDATA #REQUIRED>
+]>
+<--* this is to test "<" can not be included in the
+ replacement text of an entity that is referenced
+ in AttValue. Anyway, this file should be rejected
+ because the internal GE "gewithlt" is not even
+ well-formed by definition. *-->
+
+
+<?MyInstruct This is a test ?>
+<student att1="&gewithlt;">My Name is SnowMan. </student>
|