diff options
author | Jani Heikkinen <jani.heikkinen@qt.io> | 2018-02-10 20:39:02 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2018-02-10 20:39:02 +0000 |
commit | 095dbc494c6cb9815b0d9b521a3105b06f4bef33 (patch) | |
tree | ec5b2ac5777406a533e820f21b5705b209855a0d /tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa02.xml | |
parent | 0b48fcee709ac0070d7b9213632edeafeeddc9e1 (diff) | |
parent | 32b506d1db1f8cee748a27b548ba8208f2928058 (diff) |
Merge "Merge remote-tracking branch 'origin/dev' into 5.11" into refs/staging/5.11
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa02.xml')
-rw-r--r-- | tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa02.xml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa02.xml b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa02.xml new file mode 100644 index 0000000000..7a416601fa --- /dev/null +++ b/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/sun/valid/sa02.xml @@ -0,0 +1,52 @@ +<?xml version='1.0' standalone='yes'?> + +<!DOCTYPE attributes [ + <!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 + > + + <!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> +]> + +<attributes + notation = " nonce " + nmtoken = " this-gets-normalized " + nmtokens = " this + also gets normalized " + id = " &internal; " + idref = " &internal; + " + idrefs = " &internal; &internal; &internal;" + entity = " unparsed-1 " + entities = "unparsed-1 unparsed-2" + cdata = "nothing happens to this one!" + /> |