0
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<!--
|
|
3 |
@(#)invalid.xml 1.9 99/01/07
|
|
4 |
Copyright 1998 by Sun Microsystems, Inc.
|
|
5 |
All Rights Reserved.
|
|
6 |
-->
|
|
7 |
<TEST URI="invalid/dtd01.xml" ID="inv-dtd01" SECTIONS="3.2.2" TYPE="invalid">
|
|
8 |
Tests the No Duplicate Types VC</TEST>
|
|
9 |
|
|
10 |
<TEST URI="invalid/dtd02.xml" ID="inv-dtd02" SECTIONS="4.2.2" TYPE="invalid">
|
|
11 |
Tests the "Notation Declared" VC by using an undeclared
|
|
12 |
notation name.</TEST>
|
|
13 |
|
|
14 |
<TEST URI="invalid/dtd03.xml" ID="inv-dtd03" SECTIONS="3" TYPE="invalid">
|
|
15 |
Tests the "Element Valid" VC (clause 2)
|
|
16 |
by omitting a required element. </TEST>
|
|
17 |
|
|
18 |
<TEST URI="invalid/el01.xml" ID="el01" SECTIONS="3" TYPE="invalid">
|
|
19 |
Tests the Element Valid VC (clause 4)
|
|
20 |
by including an undeclared child element. </TEST>
|
|
21 |
|
|
22 |
<TEST URI="invalid/el02.xml" ID="el02" SECTIONS="3" TYPE="invalid">
|
|
23 |
Tests the Element Valid VC (clause 1)
|
|
24 |
by including elements in an EMPTY content model. </TEST>
|
|
25 |
|
|
26 |
<TEST URI="invalid/el03.xml" ID="el03" SECTIONS="3" TYPE="invalid">
|
|
27 |
Tests the Element Valid VC (clause 3) by including a child element
|
|
28 |
not permitted by a mixed content model. </TEST>
|
|
29 |
|
|
30 |
<TEST URI="invalid/el04.xml" ID="el04" SECTIONS="3.2" TYPE="invalid">
|
|
31 |
Tests the Unique Element Type Declaration VC. </TEST>
|
|
32 |
|
|
33 |
<TEST URI="invalid/el05.xml" ID="el05" SECTIONS="3.2.2" TYPE="invalid">
|
|
34 |
Tests the No Duplicate Types VC. </TEST>
|
|
35 |
|
|
36 |
<TEST URI="invalid/el06.xml" ID="el06" SECTIONS="3" TYPE="invalid">
|
|
37 |
Tests the Element Valid VC (clause 1),
|
|
38 |
using one of the predefined internal entities
|
|
39 |
inside an EMPTY content model.</TEST>
|
|
40 |
|
|
41 |
<TEST URI="invalid/id01.xml" ID="id01" ENTITIES="parameter" SECTIONS="3.3.1" TYPE="invalid">
|
|
42 |
Tests the ID (is a Name) VC</TEST>
|
|
43 |
|
|
44 |
<TEST URI="invalid/id02.xml" ID="id02" ENTITIES="parameter" SECTIONS="3.3.1" TYPE="invalid">
|
|
45 |
Tests the ID (appears once) VC</TEST>
|
|
46 |
|
|
47 |
<TEST URI="invalid/id03.xml" ID="id03" ENTITIES="parameter" SECTIONS="3.3.1" TYPE="invalid">
|
|
48 |
Tests the One ID per Element Type VC</TEST>
|
|
49 |
|
|
50 |
<TEST URI="invalid/id04.xml" ID="id04" SECTIONS="3.3.1" TYPE="invalid">
|
|
51 |
Tests the ID Attribute Default VC</TEST>
|
|
52 |
|
|
53 |
<TEST URI="invalid/id05.xml" ID="id05" SECTIONS="3.3.1" TYPE="invalid">
|
|
54 |
Tests the ID Attribute Default VC</TEST>
|
|
55 |
|
|
56 |
<TEST URI="invalid/id06.xml" ID="id06" SECTIONS="3.3.1" TYPE="invalid">
|
|
57 |
Tests the IDREF (is a Name) VC</TEST>
|
|
58 |
|
|
59 |
<TEST URI="invalid/id07.xml" ID="id07" SECTIONS="3.3.1" TYPE="invalid">
|
|
60 |
Tests the IDREFS (is a Names) VC</TEST>
|
|
61 |
|
|
62 |
<TEST URI="invalid/id08.xml" ID="id08" SECTIONS="3.3.1" TYPE="invalid">
|
|
63 |
Tests the IDREF (matches an ID) VC</TEST>
|
|
64 |
|
|
65 |
<TEST URI="invalid/id09.xml" ID="id09" SECTIONS="3.3.1" TYPE="invalid">
|
|
66 |
Tests the IDREF (IDREFS matches an ID) VC</TEST>
|
|
67 |
|
|
68 |
<TEST URI="invalid/not-sa01.xml" ID="inv-not-sa01" ENTITIES="parameter"
|
|
69 |
SECTIONS="2.9" TYPE="invalid">
|
|
70 |
Tests the Standalone Document Declaration VC, ensuring that
|
|
71 |
optional whitespace causes a validity error.</TEST>
|
|
72 |
|
|
73 |
<TEST URI="invalid/not-sa02.xml" ID="inv-not-sa02" ENTITIES="parameter"
|
|
74 |
SECTIONS="2.9" TYPE="invalid">
|
|
75 |
Tests the Standalone Document Declaration VC, ensuring that
|
|
76 |
attributes needing normalization cause a validity error.</TEST>
|
|
77 |
|
|
78 |
<TEST URI="invalid/not-sa04.xml" ID="inv-not-sa04" ENTITIES="parameter"
|
|
79 |
SECTIONS="2.9" TYPE="invalid">
|
|
80 |
Tests the Standalone Document Declaration VC, ensuring that
|
|
81 |
attributes needing defaulting cause a validity error.</TEST>
|
|
82 |
|
|
83 |
<TEST URI="invalid/not-sa05.xml" ID="inv-not-sa05" ENTITIES="parameter"
|
|
84 |
SECTIONS="2.9" TYPE="invalid">
|
|
85 |
Tests the Standalone Document Declaration VC, ensuring that
|
|
86 |
a token attribute that needs normalization causes a validity error.</TEST>
|
|
87 |
|
|
88 |
<TEST URI="invalid/not-sa06.xml" ID="inv-not-sa06" ENTITIES="parameter"
|
|
89 |
SECTIONS="2.9" TYPE="invalid">
|
|
90 |
Tests the Standalone Document Declaration VC, ensuring that
|
|
91 |
a NOTATION attribute that needs normalization
|
|
92 |
causes a validity error.</TEST>
|
|
93 |
|
|
94 |
<TEST URI="invalid/not-sa07.xml" ID="inv-not-sa07" ENTITIES="parameter"
|
|
95 |
SECTIONS="2.9" TYPE="invalid">
|
|
96 |
Tests the Standalone Document Declaration VC, ensuring that
|
|
97 |
an NMTOKEN attribute needing normalization
|
|
98 |
causes a validity error.</TEST>
|
|
99 |
|
|
100 |
<TEST URI="invalid/not-sa08.xml" ID="inv-not-sa08" ENTITIES="parameter"
|
|
101 |
SECTIONS="2.9" TYPE="invalid">
|
|
102 |
Tests the Standalone Document Declaration VC, ensuring that
|
|
103 |
an NMTOKENS attribute needing normalization
|
|
104 |
causes a validity error.</TEST>
|
|
105 |
|
|
106 |
<TEST URI="invalid/not-sa09.xml" ID="inv-not-sa09" ENTITIES="parameter"
|
|
107 |
SECTIONS="2.9" TYPE="invalid">
|
|
108 |
Tests the Standalone Document Declaration VC, ensuring that
|
|
109 |
an ID attribute needing normalization causes a validity error.</TEST>
|
|
110 |
|
|
111 |
<TEST URI="invalid/not-sa10.xml" ID="inv-not-sa10" ENTITIES="parameter"
|
|
112 |
SECTIONS="2.9" TYPE="invalid">
|
|
113 |
Tests the Standalone Document Declaration VC, ensuring that
|
|
114 |
an IDREF attribute needing normalization causes a validity error.</TEST>
|
|
115 |
|
|
116 |
<TEST URI="invalid/not-sa11.xml" ID="inv-not-sa11" ENTITIES="parameter"
|
|
117 |
SECTIONS="2.9" TYPE="invalid">
|
|
118 |
Tests the Standalone Document Declaration VC, ensuring that
|
|
119 |
an IDREFS attribute needing normalization causes a validity error.</TEST>
|
|
120 |
|
|
121 |
<TEST URI="invalid/not-sa12.xml" ID="inv-not-sa12" ENTITIES="parameter"
|
|
122 |
SECTIONS="2.9" TYPE="invalid">
|
|
123 |
Tests the Standalone Document Declaration VC, ensuring that
|
|
124 |
an ENTITY attribute needing normalization causes a validity error.</TEST>
|
|
125 |
|
|
126 |
<TEST URI="invalid/not-sa13.xml" ID="inv-not-sa13" ENTITIES="parameter"
|
|
127 |
SECTIONS="2.9" TYPE="invalid">
|
|
128 |
Tests the Standalone Document Declaration VC, ensuring that
|
|
129 |
an ENTITIES attribute needing normalization causes a validity error.</TEST>
|
|
130 |
|
|
131 |
<TEST URI="invalid/not-sa14.xml" ID="inv-not-sa14" ENTITIES="parameter"
|
|
132 |
SECTIONS="3" TYPE="invalid">
|
|
133 |
CDATA sections containing only whitespace do not match the nonterminal S, and cannot
|
|
134 |
appear in these positions.</TEST>
|
|
135 |
|
|
136 |
<TEST URI="invalid/optional01.xml" ID="optional01" ENTITIES="parameter"
|
|
137 |
SECTIONS="3" TYPE="invalid">
|
|
138 |
Tests the Element Valid VC (clause 2) for one
|
|
139 |
instance of "children" content model, providing no children where
|
|
140 |
one is required.</TEST>
|
|
141 |
|
|
142 |
<TEST URI="invalid/optional02.xml" ID="optional02" ENTITIES="parameter"
|
|
143 |
SECTIONS="3" TYPE="invalid">
|
|
144 |
Tests the Element Valid VC (clause 2) for one
|
|
145 |
instance of "children" content model, providing
|
|
146 |
two children where one is required.</TEST>
|
|
147 |
|
|
148 |
<TEST URI="invalid/optional03.xml" ID="optional03" ENTITIES="parameter"
|
|
149 |
SECTIONS="3" TYPE="invalid">
|
|
150 |
Tests the Element Valid VC (clause 2) for one
|
|
151 |
instance of "children" content model, providing
|
|
152 |
no children where two are required.</TEST>
|
|
153 |
|
|
154 |
<TEST URI="invalid/optional04.xml" ID="optional04" ENTITIES="parameter"
|
|
155 |
SECTIONS="3" TYPE="invalid">
|
|
156 |
Tests the Element Valid VC (clause 2) for one
|
|
157 |
instance of "children" content model, providing
|
|
158 |
three children where two are required.</TEST>
|
|
159 |
|
|
160 |
<TEST URI="invalid/optional05.xml" ID="optional05" ENTITIES="parameter"
|
|
161 |
SECTIONS="3" TYPE="invalid">
|
|
162 |
Tests the Element Valid VC (clause 2) for one
|
|
163 |
instance of "children" content model, providing
|
|
164 |
no children where one or two are
|
|
165 |
required (one construction of that model).</TEST>
|
|
166 |
|
|
167 |
<TEST URI="invalid/optional06.xml" ID="optional06" ENTITIES="parameter"
|
|
168 |
SECTIONS="3" TYPE="invalid">
|
|
169 |
Tests the Element Valid VC (clause 2) for one
|
|
170 |
instance of "children" content model, providing
|
|
171 |
no children where one or two are
|
|
172 |
required (a second construction of that model).</TEST>
|
|
173 |
|
|
174 |
<TEST URI="invalid/optional07.xml" ID="optional07" ENTITIES="parameter"
|
|
175 |
SECTIONS="3" TYPE="invalid">
|
|
176 |
Tests the Element Valid VC (clause 2) for one
|
|
177 |
instance of "children" content model, providing
|
|
178 |
no children where one or two are
|
|
179 |
required (a third construction of that model).</TEST>
|
|
180 |
|
|
181 |
<TEST URI="invalid/optional08.xml" ID="optional08" ENTITIES="parameter"
|
|
182 |
SECTIONS="3" TYPE="invalid">
|
|
183 |
Tests the Element Valid VC (clause 2) for one
|
|
184 |
instance of "children" content model, providing
|
|
185 |
no children where one or two are
|
|
186 |
required (a fourth construction of that model).</TEST>
|
|
187 |
|
|
188 |
<TEST URI="invalid/optional09.xml" ID="optional09" ENTITIES="parameter"
|
|
189 |
SECTIONS="3" TYPE="invalid">
|
|
190 |
Tests the Element Valid VC (clause 2) for one
|
|
191 |
instance of "children" content model, providing
|
|
192 |
no children where one or two are
|
|
193 |
required (a fifth construction of that model).</TEST>
|
|
194 |
|
|
195 |
<TEST URI="invalid/optional10.xml" ID="optional10" ENTITIES="parameter"
|
|
196 |
SECTIONS="3" TYPE="invalid">
|
|
197 |
Tests the Element Valid VC (clause 2) for one
|
|
198 |
instance of "children" content model, providing
|
|
199 |
three children where one or two are
|
|
200 |
required (a basic construction of that model).</TEST>
|
|
201 |
|
|
202 |
<TEST URI="invalid/optional11.xml" ID="optional11" ENTITIES="parameter"
|
|
203 |
SECTIONS="3" TYPE="invalid">
|
|
204 |
Tests the Element Valid VC (clause 2) for one
|
|
205 |
instance of "children" content model, providing
|
|
206 |
three children where one or two are
|
|
207 |
required (a second construction of that model).</TEST>
|
|
208 |
|
|
209 |
<TEST URI="invalid/optional12.xml" ID="optional12" ENTITIES="parameter"
|
|
210 |
SECTIONS="3" TYPE="invalid">
|
|
211 |
Tests the Element Valid VC (clause 2) for one
|
|
212 |
instance of "children" content model, providing
|
|
213 |
three children where one or two are
|
|
214 |
required (a third construction of that model).</TEST>
|
|
215 |
|
|
216 |
<TEST URI="invalid/optional13.xml" ID="optional13" ENTITIES="parameter"
|
|
217 |
SECTIONS="3" TYPE="invalid">
|
|
218 |
Tests the Element Valid VC (clause 2) for one
|
|
219 |
instance of "children" content model, providing
|
|
220 |
three children where one or two are
|
|
221 |
required (a fourth construction of that model).</TEST>
|
|
222 |
|
|
223 |
<TEST URI="invalid/optional14.xml" ID="optional14" ENTITIES="parameter"
|
|
224 |
SECTIONS="3" TYPE="invalid">
|
|
225 |
Tests the Element Valid VC (clause 2) for one
|
|
226 |
instance of "children" content model, providing
|
|
227 |
three children where one or two are
|
|
228 |
required (a fifth construction of that model).</TEST>
|
|
229 |
|
|
230 |
<TEST URI="invalid/optional20.xml" ID="optional20" ENTITIES="parameter"
|
|
231 |
SECTIONS="3" TYPE="invalid">
|
|
232 |
Tests the Element Valid VC (clause 2) for one
|
|
233 |
instance of "children" content model, providing
|
|
234 |
no children where one or more are
|
|
235 |
required (a sixth construction of that model).</TEST>
|
|
236 |
|
|
237 |
<TEST URI="invalid/optional21.xml" ID="optional21" ENTITIES="parameter"
|
|
238 |
SECTIONS="3" TYPE="invalid">
|
|
239 |
Tests the Element Valid VC (clause 2) for one
|
|
240 |
instance of "children" content model, providing
|
|
241 |
no children where one or more are
|
|
242 |
required (a seventh construction of that model).</TEST>
|
|
243 |
|
|
244 |
<TEST URI="invalid/optional22.xml" ID="optional22" ENTITIES="parameter"
|
|
245 |
SECTIONS="3" TYPE="invalid">
|
|
246 |
Tests the Element Valid VC (clause 2) for one
|
|
247 |
instance of "children" content model, providing
|
|
248 |
no children where one or more are
|
|
249 |
required (an eigth construction of that model).</TEST>
|
|
250 |
|
|
251 |
<TEST URI="invalid/optional23.xml" ID="optional23" ENTITIES="parameter"
|
|
252 |
SECTIONS="3" TYPE="invalid">
|
|
253 |
Tests the Element Valid VC (clause 2) for one
|
|
254 |
instance of "children" content model, providing
|
|
255 |
no children where one or more are
|
|
256 |
required (a ninth construction of that model).</TEST>
|
|
257 |
|
|
258 |
<TEST URI="invalid/optional24.xml" ID="optional24" ENTITIES="parameter"
|
|
259 |
SECTIONS="3" TYPE="invalid">
|
|
260 |
Tests the Element Valid VC (clause 2) for one
|
|
261 |
instance of "children" content model, providing
|
|
262 |
no children where one or more are
|
|
263 |
required (a tenth construction of that model).</TEST>
|
|
264 |
|
|
265 |
<TEST URI="invalid/optional25.xml" ID="optional25" ENTITIES="parameter"
|
|
266 |
SECTIONS="3" TYPE="invalid">
|
|
267 |
Tests the Element Valid VC (clause 2) for one
|
|
268 |
instance of "children" content model, providing
|
|
269 |
text content where one or more elements are
|
|
270 |
required.</TEST>
|
|
271 |
|
|
272 |
<TEST URI="invalid/required00.xml" ID="inv-required00"
|
|
273 |
SECTIONS="3.3.2" TYPE="invalid">
|
|
274 |
Tests the Required Attribute VC.</TEST>
|
|
275 |
|
|
276 |
<TEST URI="invalid/required01.xml" ID="inv-required01"
|
|
277 |
SECTIONS="3.1 2.10" TYPE="invalid">
|
|
278 |
Tests the Attribute Value Type (declared)
|
|
279 |
VC for the xml:space attribute</TEST>
|
|
280 |
|
|
281 |
<TEST URI="invalid/required02.xml" ID="inv-required02"
|
|
282 |
SECTIONS="3.1 2.12" TYPE="invalid">
|
|
283 |
Tests the Attribute Value Type (declared)
|
|
284 |
VC for the xml:lang attribute</TEST>
|
|
285 |
|
|
286 |
<TEST URI="invalid/root.xml" ID="root" ENTITIES="parameter" SECTIONS="2.8" TYPE="invalid">
|
|
287 |
Tests the Root Element Type VC</TEST>
|
|
288 |
|
|
289 |
<TEST TYPE="invalid" URI="invalid/attr01.xml" ID="attr01" SECTIONS="3.3.1">
|
|
290 |
Tests the "Entity Name" VC for the ENTITY attribute type.</TEST>
|
|
291 |
|
|
292 |
<TEST TYPE="invalid" URI="invalid/attr02.xml" ID="attr02" SECTIONS="3.3.1">
|
|
293 |
Tests the "Entity Name" VC for the ENTITIES attribute type.</TEST>
|
|
294 |
|
|
295 |
<TEST TYPE="invalid" URI="invalid/attr03.xml" ID="attr03" SECTIONS="3.3.1">
|
|
296 |
Tests the "Notation Attributes" VC for the
|
|
297 |
NOTATION attribute type, first clause: value must be one
|
|
298 |
of the ones that's declared.</TEST>
|
|
299 |
|
|
300 |
<TEST TYPE="invalid" URI="invalid/attr04.xml" ID="attr04" SECTIONS="3.3.1">
|
|
301 |
Tests the "Notation Attributes" VC for the
|
|
302 |
NOTATION attribute type, second clause: the names in the
|
|
303 |
declaration must all be declared.</TEST>
|
|
304 |
|
|
305 |
<TEST TYPE="invalid" URI="invalid/attr05.xml" ID="attr05" SECTIONS="3.3.1">
|
|
306 |
Tests the "Name Token" VC for the NMTOKEN attribute type.</TEST>
|
|
307 |
|
|
308 |
<TEST TYPE="invalid" URI="invalid/attr06.xml" ID="attr06" SECTIONS="3.3.1">
|
|
309 |
Tests the "Name Token" VC for the NMTOKENS attribute type.</TEST>
|
|
310 |
|
|
311 |
<TEST TYPE="invalid" URI="invalid/attr07.xml" ID="attr07" SECTIONS="3.3.1">
|
|
312 |
Tests the "Enumeration" VC by providing
|
|
313 |
a value which wasn't one of the choices.</TEST>
|
|
314 |
|
|
315 |
<TEST TYPE="invalid" URI="invalid/attr08.xml" ID="attr08" SECTIONS="3.3.2">
|
|
316 |
Tests the "Fixed Attribute Default" VC by
|
|
317 |
providing the wrong value.</TEST>
|
|
318 |
|
|
319 |
<TEST TYPE="invalid" URI="invalid/attr09.xml" ID="attr09" SECTIONS="3.3.2">
|
|
320 |
Tests the "Attribute Default Legal" VC by
|
|
321 |
providing an illegal IDREF value.</TEST>
|
|
322 |
|
|
323 |
<TEST TYPE="invalid" URI="invalid/attr10.xml" ID="attr10" SECTIONS="3.3.2">
|
|
324 |
Tests the "Attribute Default Legal" VC by
|
|
325 |
providing an illegal IDREFS value.</TEST>
|
|
326 |
|
|
327 |
<TEST TYPE="invalid" URI="invalid/attr11.xml" ID="attr11" SECTIONS="3.3.2">
|
|
328 |
Tests the "Attribute Default Legal" VC by
|
|
329 |
providing an illegal ENTITY value.</TEST>
|
|
330 |
|
|
331 |
<TEST TYPE="invalid" URI="invalid/attr12.xml" ID="attr12" SECTIONS="3.3.2">
|
|
332 |
Tests the "Attribute Default Legal" VC by
|
|
333 |
providing an illegal ENTITIES value.</TEST>
|
|
334 |
|
|
335 |
<TEST TYPE="invalid" URI="invalid/attr13.xml" ID="attr13" SECTIONS="3.3.2">
|
|
336 |
Tests the "Attribute Default Legal" VC by
|
|
337 |
providing an illegal NMTOKEN value.</TEST>
|
|
338 |
|
|
339 |
<TEST TYPE="invalid" URI="invalid/attr14.xml" ID="attr14" SECTIONS="3.3.2">
|
|
340 |
Tests the "Attribute Default Legal" VC by
|
|
341 |
providing an illegal NMTOKENS value.</TEST>
|
|
342 |
|
|
343 |
<TEST TYPE="invalid" URI="invalid/attr15.xml" ID="attr15" SECTIONS="3.3.2">
|
|
344 |
Tests the "Attribute Default Legal" VC by
|
|
345 |
providing an illegal NOTATIONS value.</TEST>
|
|
346 |
|
|
347 |
<TEST TYPE="invalid" URI="invalid/attr16.xml" ID="attr16" SECTIONS="3.3.2">
|
|
348 |
Tests the "Attribute Default Legal" VC by
|
|
349 |
providing an illegal enumeration value.</TEST>
|
|
350 |
|
|
351 |
<TEST URI="invalid/utf16b.xml" ID="utf16b" SECTIONS="4.3.3 2.8" TYPE="invalid">
|
|
352 |
Tests reading an invalid "big endian" UTF-16 document</TEST>
|
|
353 |
|
|
354 |
<TEST URI="invalid/utf16l.xml" ID="utf16l" SECTIONS="4.3.3 2.8" TYPE="invalid">
|
|
355 |
Tests reading an invalid "little endian" UTF-16 document</TEST>
|
|
356 |
|
|
357 |
<TEST URI="invalid/empty.xml" ID="empty" TYPE="invalid" SECTIONS="2.4 2.7 [18] 3">
|
|
358 |
CDATA section containing only white space does not match the nonterminal S, and cannot
|
|
359 |
appear in these positions. </TEST>
|