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/valid/P29/ibm29v01.xml | |
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/valid/P29/ibm29v01.xml')
-rw-r--r-- | tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P29/ibm29v01.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P29/ibm29v01.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P29/ibm29v01.xml new file mode 100644 index 0000000000..de85558e2a --- /dev/null +++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P29/ibm29v01.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE animal [
+ <!ELEMENT animal (cat|tiger|leopard)+>
+ <!NOTATION animal_class SYSTEM "ibm29v01.txt">
+ <!ELEMENT cat ANY>
+ <!ENTITY forcat "This is a small cat">
+ <!ELEMENT tiger (#PCDATA)>
+ <!ELEMENT leopard ANY>
+ <!ELEMENT small EMPTY>
+ <!ELEMENT big EMPTY>
+ <!ATTLIST tiger color CDATA #REQUIRED>
+ <?sound "This is a PI" ?>
+ <!-- This is a comment -->
+
+]>
+<animal>
+ <cat>&forcat;</cat>
+ <tiger color="white">This is a white tiger in Mirage!!</tiger>
+ <cat/>
+ <leopard>
+ <small/>
+ <big/>
+ </leopard>
+</animal>
|