summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa.dtd
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-02-06 12:38:51 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-02-10 15:55:52 +0100
commit32b506d1db1f8cee748a27b548ba8208f2928058 (patch)
tree2d5b23baafe22ccc3518719f8f5d19bb846b2b61 /tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa.dtd
parent2cb1db64370989fffeec313c196fe573c479e6aa (diff)
parentc0948d508e7179e2e23c893ba6152c40400de060 (diff)
Merge remote-tracking branch 'origin/dev' into 5.11
Conflicts: src/corelib/tools/qvarlengtharray.qdoc src/corelib/tools/qvector.qdoc Resolved documentation changes in favor of 017569f702b6dd0, which keeps the move overloads along with its const-ref sibling. Change-Id: I0835b0b3211a418e5e50defc4cf315f0964fab79
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa.dtd')
-rw-r--r--tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa.dtd39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa.dtd b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa.dtd
new file mode 100644
index 0000000000..a0733eb88c
--- /dev/null
+++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa.dtd
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!ELEMENT root (child|attributes)*>
+ <!ELEMENT child (#PCDATA)>
+ <!ELEMENT attributes EMPTY>
+
+ <!--
+ 2.9 gives validity constraints applying to attributes
+ in standalone docs: no external defaults or decls
+ causing normalization.
+
+ 3.3.3 describes the normalization rules
+ -->
+
+ <!ATTLIST attributes
+ token (a|b|c) "a"
+ notation (nonce|foo|bar) #IMPLIED
+ nmtoken NMTOKEN #IMPLIED
+ nmtokens NMTOKENS #IMPLIED
+ id ID #IMPLIED
+ idref IDREF #IMPLIED
+ idrefs IDREFS #IMPLIED
+ entity ENTITY #IMPLIED
+ entities ENTITIES #IMPLIED
+ cdata CDATA #IMPLIED
+ >
+
+ <!-- this needs normalization when used as an ID -->
+ <!ENTITY internal " internal&number; ">
+ <!ENTITY number "42">
+
+ <!NOTATION nonce SYSTEM "file:/dev/null">
+ <!NOTATION foo PUBLIC "-//public id//foo" "file:/dev/null">
+ <!NOTATION bar SYSTEM "file:/dev/tty">
+
+ <!ENTITY unparsed-1 PUBLIC "-//some public//ID" "file:/dev/console"
+ NDATA nonce>
+ <!ENTITY unparsed-2 SYSTEM "scheme://host/data"
+ NDATA foo>