0
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<!--
|
|
3 |
@(#)valid.xml 1.6 99/01/21
|
|
4 |
Copyright 1998 by Sun Microsystems, Inc.
|
|
5 |
All Rights Reserved.
|
|
6 |
-->
|
|
7 |
<TEST URI="valid/pe01.xml" ID="pe01" ENTITIES="parameter" SECTIONS="2.8" TYPE="valid">
|
|
8 |
Parameter entities references are NOT RECOGNIZED in default attribute
|
|
9 |
values.</TEST>
|
|
10 |
|
|
11 |
<TEST URI="valid/dtd00.xml" ID="dtd00" SECTIONS="3.2.2 [51]" TYPE="valid"
|
|
12 |
OUTPUT="valid/out/dtd00.xml">
|
|
13 |
Tests parsing of alternative forms of text-only mixed
|
|
14 |
content declaration.</TEST>
|
|
15 |
|
|
16 |
<TEST URI="valid/dtd01.xml" ID="dtd01" TYPE="valid" SECTIONS="2.5 [15]"
|
|
17 |
OUTPUT="valid/out/dtd01.xml">
|
|
18 |
Comments don't get parameter entity expansion</TEST>
|
|
19 |
|
|
20 |
<TEST URI="valid/element.xml" ID="element" TYPE="valid" SECTIONS="3"
|
|
21 |
OUTPUT="valid/out/element.xml">
|
|
22 |
Tests clauses 1, 3, and 4 of the Element Valid
|
|
23 |
validity constraint.</TEST>
|
|
24 |
|
|
25 |
<TEST URI="valid/ext01.xml" ID="ext01" ENTITIES="general"
|
|
26 |
OUTPUT="valid/out/ext01.xml"
|
|
27 |
SECTIONS="4.3.1 4.3.2 [77] [78]" TYPE="valid">
|
|
28 |
Tests use of external parsed entities with and without content.</TEST>
|
|
29 |
|
|
30 |
<TEST URI="valid/ext02.xml" ID="ext02" ENTITIES="general" SECTIONS="4.3.2 [78]" TYPE="valid"
|
|
31 |
OUTPUT="valid/out/ext02.xml">
|
|
32 |
Tests use of external parsed entities with different
|
|
33 |
encodings than the base document.</TEST>
|
|
34 |
|
|
35 |
<TEST URI="valid/not-sa01.xml" ENTITIES="parameter" ID="not-sa01" TYPE="valid" SECTIONS="2.9"
|
|
36 |
OUTPUT="valid/out/not-sa01.xml">
|
|
37 |
A non-standalone document is valid if declared as such.</TEST>
|
|
38 |
|
|
39 |
<TEST URI="valid/not-sa02.xml" ENTITIES="parameter" ID="not-sa02" TYPE="valid" SECTIONS="2.9"
|
|
40 |
OUTPUT="valid/out/not-sa02.xml">
|
|
41 |
A non-standalone document is valid if declared as such.</TEST>
|
|
42 |
|
|
43 |
<TEST URI="valid/not-sa03.xml" ENTITIES="parameter" ID="not-sa03" TYPE="valid" SECTIONS="2.9"
|
|
44 |
OUTPUT="valid/out/not-sa03.xml">
|
|
45 |
A non-standalone document is valid if declared as such.</TEST>
|
|
46 |
|
|
47 |
<TEST URI="valid/not-sa04.xml" ENTITIES="parameter" ID="not-sa04" TYPE="valid" SECTIONS="2.9"
|
|
48 |
OUTPUT="valid/out/not-sa04.xml">
|
|
49 |
A non-standalone document is valid if declared as such. </TEST>
|
|
50 |
|
|
51 |
<TEST URI="valid/notation01.xml" ENTITIES="parameter" ID="notation01" TYPE="valid"
|
|
52 |
OUTPUT="valid/out/notation01.xml"
|
|
53 |
SECTIONS="4.7 [82]">
|
|
54 |
NOTATION declarations don't need SYSTEM IDs; and
|
|
55 |
externally declared notations may be used to declare
|
|
56 |
unparsed entities in the internal DTD subset.
|
|
57 |
The notation must be reported to the application.
|
|
58 |
</TEST>
|
|
59 |
|
|
60 |
<TEST URI="valid/optional.xml" ENTITIES="parameter" ID="optional" TYPE="valid"
|
|
61 |
OUTPUT="valid/out/optional.xml"
|
|
62 |
SECTIONS="3 3.2.1 [47]">
|
|
63 |
Tests declarations of "children" content models, and
|
|
64 |
the validity constraints associated with them.</TEST>
|
|
65 |
|
|
66 |
<TEST URI="valid/required00.xml" ID="required00" TYPE="valid"
|
|
67 |
OUTPUT="valid/out/required00.xml"
|
|
68 |
SECTIONS="3.3.2 [60]">
|
|
69 |
Tests the #REQUIRED attribute declaration syntax, and
|
|
70 |
the associated validity constraint. </TEST>
|
|
71 |
|
|
72 |
<TEST URI="valid/sa01.xml" ID="sa01" TYPE="valid" SECTIONS="2.9 [32]"
|
|
73 |
OUTPUT="valid/out/sa01.xml">
|
|
74 |
A document may be marked 'standalone' if any optional
|
|
75 |
whitespace is defined within the internal DTD subset.</TEST>
|
|
76 |
|
|
77 |
<TEST URI="valid/sa02.xml" ID="sa02" TYPE="valid" SECTIONS="2.9 [32]"
|
|
78 |
OUTPUT="valid/out/sa02.xml">
|
|
79 |
A document may be marked 'standalone' if any
|
|
80 |
attributes that need normalization are
|
|
81 |
defined within the internal DTD subset.</TEST>
|
|
82 |
|
|
83 |
<TEST URI="valid/sa03.xml" ENTITIES="parameter" ID="sa03" TYPE="valid" SECTIONS="2.9 [32]"
|
|
84 |
OUTPUT="valid/out/sa03.xml">
|
|
85 |
A document may be marked 'standalone' if any
|
|
86 |
the defined entities need expanding are internal,
|
|
87 |
and no attributes need defaulting or normalization.
|
|
88 |
On output, requires notations to be correctly reported.
|
|
89 |
</TEST>
|
|
90 |
|
|
91 |
<TEST URI="valid/sa04.xml" ID="sa04" ENTITIES="parameter" TYPE="valid" SECTIONS="2.9 [32]"
|
|
92 |
OUTPUT="valid/out/sa04.xml">
|
|
93 |
Like sa03 but relies on attribute
|
|
94 |
defaulting defined in the internal subset.
|
|
95 |
On output, requires notations to be correctly reported.
|
|
96 |
</TEST>
|
|
97 |
|
|
98 |
<TEST URI="valid/sa05.xml" ID="sa05" ENTITIES="parameter" TYPE="valid" SECTIONS="2.9 [32]"
|
|
99 |
OUTPUT="valid/out/sa05.xml">
|
|
100 |
Like sa01 but this document is standalone
|
|
101 |
since it has no optional whitespace.
|
|
102 |
On output, requires notations to be correctly reported.
|
|
103 |
</TEST>
|
|
104 |
|
|
105 |
<TEST URI="valid/sgml01.xml" ID="v-sgml01" SECTIONS="3.3.1 [59]" TYPE="valid"
|
|
106 |
OUTPUT="valid/out/sgml01.xml">
|
|
107 |
XML permits token reuse, while SGML does not.</TEST>
|
|
108 |
|
|
109 |
<TEST URI="valid/v-lang01.xml"
|
|
110 |
OUTPUT="valid/out/v-lang01.xml"
|
|
111 |
ID="v-lang01" SECTIONS="2.12 [35]" TYPE="valid">
|
|
112 |
Tests a lowercase ISO language code.</TEST>
|
|
113 |
|
|
114 |
<TEST URI="valid/v-lang02.xml" ID="v-lang02" SECTIONS="2.12 [35]" TYPE="valid"
|
|
115 |
OUTPUT="valid/out/v-lang02.xml">
|
|
116 |
Tests a ISO language code with a subcode.</TEST>
|
|
117 |
|
|
118 |
<TEST URI="valid/v-lang03.xml" ID="v-lang03" SECTIONS="2.12 [36]" TYPE="valid"
|
|
119 |
OUTPUT="valid/out/v-lang03.xml">
|
|
120 |
Tests a IANA language code with a subcode.</TEST>
|
|
121 |
|
|
122 |
<TEST URI="valid/v-lang04.xml" ID="v-lang04" SECTIONS="2.12 [37]" TYPE="valid"
|
|
123 |
OUTPUT="valid/out/v-lang04.xml">
|
|
124 |
Tests a user language code with a subcode.</TEST>
|
|
125 |
|
|
126 |
<TEST URI="valid/v-lang05.xml" ID="v-lang05" SECTIONS="2.12 [35]" TYPE="valid"
|
|
127 |
OUTPUT="valid/out/v-lang05.xml">
|
|
128 |
Tests an uppercase ISO language code.</TEST>
|
|
129 |
|
|
130 |
<TEST URI="valid/v-lang06.xml" ID="v-lang06" SECTIONS="2.12 [37]" TYPE="valid"
|
|
131 |
OUTPUT="valid/out/v-lang06.xml">
|
|
132 |
Tests a user language code.</TEST>
|
|
133 |
|
|
134 |
<TEST URI="valid/pe00.xml" ENTITIES="parameter" ID="v-pe00" SECTIONS="4.5" TYPE="valid"
|
|
135 |
OUTPUT="valid/out/pe00.xml">
|
|
136 |
Tests construction of internal entity replacement text, using
|
|
137 |
an example in the XML specification. </TEST>
|
|
138 |
|
|
139 |
<TEST URI="valid/pe03.xml" ID="v-pe03" SECTIONS="4.5" TYPE="valid"
|
|
140 |
OUTPUT="valid/out/pe03.xml">
|
|
141 |
Tests construction of internal entity replacement text, using
|
|
142 |
an example in the XML specification. </TEST>
|
|
143 |
|
|
144 |
<TEST URI="valid/pe02.xml" ENTITIES="parameter" ID="v-pe02" SECTIONS="4.5" TYPE="valid"
|
|
145 |
OUTPUT="valid/out/pe02.xml">
|
|
146 |
Tests construction of internal entity replacement text, using
|
|
147 |
a complex example in the XML specification. </TEST>
|