From a6b697ca13945a174cff9f3e9b1af1cf61c0bea5 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 12 Dec 2017 18:32:19 -0800 Subject: 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 Reviewed-by: Lars Knoll --- .../xmlconf/ibm/xml-1.1/ibm_valid.xml | 332 +++++++++++++++++++++ 1 file changed, 332 insertions(+) create mode 100644 tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/xml-1.1/ibm_valid.xml (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/xml-1.1/ibm_valid.xml') diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/xml-1.1/ibm_valid.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/xml-1.1/ibm_valid.xml new file mode 100644 index 0000000000..bc0baf7262 --- /dev/null +++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/xml-1.1/ibm_valid.xml @@ -0,0 +1,332 @@ + + + + + + This test case covers legal character ranges plus discrete legal characters + for production 02 of the XML1.1 sepcification. + + + This test case covers control characters x1 to x1F and x7F to x9F + which should only appear as character references. + + + This test case covers control characters x1 to x1F and x7F to x9F + which appear as character references as an entity's replacement text. + + + This test case contains embeded whitespace characters + some form the range 1 - 1F. + + + This test case contains valid char references that match the char production. + + + This test case contains valid char references in the CDATA section, comment and + processing instruction of an external entity that match the char production. + + + + + + The two character sequence #x0D #x85 in an external entity must be normalized to a + single newline. + + + The single character sequence #x85 in an external entity must be normalized to a + single newline. + + + The two character sequence #x0D #x85 in an external entity must be normalized to a + single newline. + + + The single character sequence #x85 in an external entity must be normalized to a + single newline. + + + The two character sequence #x0D #x85 in a document entity must be normalized to a + single newline. + + + The single character sequence #x85 in a document entity must be normalized to a + single newline. + + + The single character sequence #x2028 in a document entity must be normalized to a + single newline. + + + The single character sequence #x85 in the XMLDecl must be normalized to a + single newline. + + + The single character sequence #x2028 in the XMLDecl must be normalized to a + single newline. (This test is questionable) + + + + + + This test case covers legal NameStartChars character ranges plus discrete legal + characters for production 04. + + + + + + This test case covers legal NameChars character ranges plus discrete legal + characters for production 04a. + + + + + + This test case covers legal Element Names as per production 5. + + + This test case covers legal PITarget (Names) as per production 5. + + + This test case covers legal Attribute (Names) as per production 5. + + + This test case covers legal ID/IDREF (Names) as per production 5. + + + This test case covers legal ENTITY (Names) as per production 5. + + + + + + This test case covers legal NMTOKEN Name character ranges plus discrete legal + characters for production 7. + + + + + + The VersionNum of the document entity is 1.1 whereas the VersionNum of the external + DTD is 1.0. The character #xC0 which is a valid XML 1.1 but an invalid XML 1.0 + character is present in both documents. + + + The VersionNum of the document entity is 1.1 whereas the VersionNum of the external + DTD is 1.0. The character #x1FFF which is a valid XML 1.1 but an invalid XML 1.0 + character is present in both documents. + + + The VersionNum of the document entity is 1.1 whereas the VersionNum of the external + DTD is 1.0. The character #xF901 which is a valid XML 1.1 but an invalid XML 1.0 + character is present in both documents. + + + The VersionNum of the document entity is 1.1 whereas the VersionNum of the external + entity is 1.0. The character #xD6 which is a valid XML 1.1 but an invalid XML 1.0 + character is present in both documents. + + + The VersionNum of the document entity is 1.1 whereas the VersionNum of the external + entity is 1.0. The character #x1FFF which is a valid XML 1.1 but an invalid XML 1.0 + character is present in both documents. + + + The VersionNum of the document entity is 1.1 whereas the VersionNum of the external + entity is 1.0. The character #xF901 which is a valid XML 1.1 but an invalid XML 1.0 + character is present in both documents. + + + The VersionNum of the document and external dtd is 1.1 and both contain the + valid XML1.1 but invalid XML1.0 character #xD8. + + + The VersionNum of the document and external dtd is 1.1 and both contain the + valid XML1.1 but invalid XML1.0 character #x1FFF. + + + The VersionNum of the document and external dtd is 1.1 and both contain the + valid XML1.1 but invalid XML1.0 character #xF901. + + + The VersionNum of the document and external entity is 1.1 and both contain the + valid XML1.1 but invalid XML1.0 character #xF6. + + + The VersionNum of the document and external entity is 1.1 and both contain the + valid XML1.1 but invalid XML1.0 character #x1FFF. + + + The VersionNum of the document and external entity is 1.1 and both contain the + valid XML1.1 but invalid XML1.0 character #xF901. + + + The VersionNum of the document entity is 1.1 but the external dtd does not + contain a textDecl and both contain the valid XML1.1 but invalid XML1.0 character + #xF8. + + + The VersionNum of the document entity is 1.1 but the external dtd does not + contain a textDecl and both contain the valid XML1.1 but invalid XML1.0 character + #x1FFF. + + + The VersionNum of the document entity is 1.1 but the external dtd does not + contain a textDecl and both contain the valid XML1.1 but invalid XML1.0 character + #xF901. + + + The VersionNum of the document entity is 1.1 but the external entity does not + contain a textDecl and both contain the valid XML1.1 but invalid XML1.0 character + #x2FF. + + + The VersionNum of the document entity is 1.1 but the external entity does not + contain a textDecl and both contain the valid XML1.1 but invalid XML1.0 character + #x1FFF. + + + The VersionNum of the document entity is 1.1 but the external entity does not + contain a textDecl and both contain the valid XML1.1 but invalid XML1.0 character + #xF901. + + + The VersionNum of the document and external dtd is 1.1. The replacement + text of an entity declared in the external DTD contains a reference to the + character #x7F. This entity is not referenced in the document entity. + + + The VersionNum of the document and external dtd is 1.1. The replacement + text of an entity declared in the external DTD contains a reference to the + character #x80. This entity is not referenced in the document entity. + + + The VersionNum of the document and external dtd is 1.1. The replacement + text of an entity declared in the external DTD contains a reference to the + character #x9F. This entity is not referenced in the document entity. + + + The VersionNum of the document and the external entity is 1.1. The entity contains + a reference to the character #x7F. + + + The VersionNum of the document and the external entity is 1.1. The entity contains + a reference to the character #x80. + + + The VersionNum of the document and the external entity is 1.1. The entity contains + a reference to the character #x9F. + + + The VersionNum of the document is 1.1 and the textDecl is missing in the external + DTD. The replacement text of an entity declared in the external DTD contains a + reference to the character #x7F, #x8F. This entity is not referenced in the + document entity. + + + The VersionNum of the document is 1.1 and the textDecl is missing in the external + DTD. The replacement text of an entity declared in the external DTD contains a + reference to the character #x80, #x90. This entity is not referenced in the + document entity. + + + The VersionNum of the document is 1.1 and the textDecl is missing in the external + DTD. The replacement text of an entity declared in the external DTD contains a + reference to the character #x81, #x9F. This entity is not referenced in the + document entity. + + + The VersionNum of the document is 1.1 and the textDecl is missing in the external + entity. The replacement text of an entity declared in the external DTD contains a + reference to the character #x7F, #x80, #x9F. + + + The VersionNum of the document is 1.1 and the textDecl is missing in the external + entity. The replacement text of an entity declared in the external DTD contains a + reference to the character #x85, #x8F. + + + The VersionNum of the document is 1.1 and the textDecl is missing in the external + entity. The replacement text of an entity declared in the external DTD contains a + reference to the character #x1, #x7F. + + + + + -- cgit v1.2.3