summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/xmlconf/sun/sun-invalid.xml
blob: 25464058df5e9fbf15748b733fe3c57c964eff80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
<?xml version="1.0" encoding="UTF-8"?>
<!--
    @(#)invalid.xml	1.9 99/01/07
    Copyright 1998 by Sun Microsystems, Inc.
    All Rights Reserved.
-->
<TEST URI="invalid/dtd01.xml" ID="inv-dtd01" SECTIONS="3.2.2" TYPE="invalid">
    Tests the No Duplicate Types VC</TEST>

<TEST URI="invalid/dtd02.xml" ID="inv-dtd02" SECTIONS="4.2.2" TYPE="invalid">
    Tests the "Notation Declared" VC by using an undeclared
    notation name.</TEST>

<TEST URI="invalid/dtd03.xml" ID="inv-dtd03" SECTIONS="3" TYPE="invalid">
    Tests the "Element Valid" VC (clause 2)
    by omitting a required element.  </TEST>

<TEST URI="invalid/el01.xml" ID="el01" SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 4)
    by including an undeclared child element.  </TEST>

<TEST URI="invalid/el02.xml" ID="el02" SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 1)
    by including elements in an EMPTY content model.  </TEST>

<TEST URI="invalid/el03.xml" ID="el03" SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 3) by including a child element
    not permitted by a mixed content model.  </TEST>

<TEST URI="invalid/el04.xml" ID="el04" SECTIONS="3.2" TYPE="invalid">
    Tests the Unique Element Type Declaration VC. </TEST>

<TEST URI="invalid/el05.xml" ID="el05" SECTIONS="3.2.2" TYPE="invalid">
    Tests the No Duplicate Types VC. </TEST>

<TEST URI="invalid/el06.xml" ID="el06" SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 1),
    using one of the predefined internal entities
    inside an EMPTY content model.</TEST>

<TEST URI="invalid/id01.xml" ID="id01" ENTITIES="parameter" SECTIONS="3.3.1" TYPE="invalid">
    Tests the ID (is a Name) VC</TEST>

<TEST URI="invalid/id02.xml" ID="id02" ENTITIES="parameter" SECTIONS="3.3.1" TYPE="invalid">
    Tests the ID (appears once) VC</TEST>

<TEST URI="invalid/id03.xml" ID="id03" ENTITIES="parameter" SECTIONS="3.3.1" TYPE="invalid">
    Tests the One ID per Element Type VC</TEST>

<TEST URI="invalid/id04.xml" ID="id04" SECTIONS="3.3.1" TYPE="invalid">
    Tests the ID Attribute Default VC</TEST>

<TEST URI="invalid/id05.xml" ID="id05" SECTIONS="3.3.1" TYPE="invalid">
    Tests the ID Attribute Default VC</TEST>

<TEST URI="invalid/id06.xml" ID="id06" SECTIONS="3.3.1" TYPE="invalid">
    Tests the IDREF (is a Name) VC</TEST>

<TEST URI="invalid/id07.xml" ID="id07" SECTIONS="3.3.1" TYPE="invalid">
    Tests the IDREFS (is a Names) VC</TEST>

<TEST URI="invalid/id08.xml" ID="id08" SECTIONS="3.3.1" TYPE="invalid">
    Tests the IDREF (matches an ID) VC</TEST>

<TEST URI="invalid/id09.xml" ID="id09" SECTIONS="3.3.1" TYPE="invalid">
    Tests the IDREF (IDREFS matches an ID) VC</TEST>

<TEST URI="invalid/not-sa01.xml" ID="inv-not-sa01" ENTITIES="parameter"
	SECTIONS="2.9" TYPE="invalid">
    Tests the Standalone Document Declaration VC, ensuring that
    optional whitespace causes a validity error.</TEST>

<TEST URI="invalid/not-sa02.xml" ID="inv-not-sa02" ENTITIES="parameter"
	SECTIONS="2.9" TYPE="invalid">
    Tests the Standalone Document Declaration VC, ensuring that
    attributes needing normalization cause a validity error.</TEST>

<TEST URI="invalid/not-sa04.xml" ID="inv-not-sa04" ENTITIES="parameter"
	SECTIONS="2.9" TYPE="invalid">
    Tests the Standalone Document Declaration VC, ensuring that
    attributes needing defaulting cause a validity error.</TEST>

<TEST URI="invalid/not-sa05.xml" ID="inv-not-sa05" ENTITIES="parameter"
	SECTIONS="2.9" TYPE="invalid">
    Tests the Standalone Document Declaration VC, ensuring that
    a token attribute that needs normalization causes a validity error.</TEST>

<TEST URI="invalid/not-sa06.xml" ID="inv-not-sa06" ENTITIES="parameter"
	SECTIONS="2.9" TYPE="invalid">
    Tests the Standalone Document Declaration VC, ensuring that
    a NOTATION attribute that needs normalization
    causes a validity error.</TEST>

<TEST URI="invalid/not-sa07.xml" ID="inv-not-sa07" ENTITIES="parameter"
	SECTIONS="2.9" TYPE="invalid">
    Tests the Standalone Document Declaration VC, ensuring that
    an NMTOKEN attribute needing normalization
    causes a validity error.</TEST>

<TEST URI="invalid/not-sa08.xml" ID="inv-not-sa08" ENTITIES="parameter"
	SECTIONS="2.9" TYPE="invalid">
    Tests the Standalone Document Declaration VC, ensuring that
    an NMTOKENS attribute needing normalization
    causes a validity error.</TEST>

<TEST URI="invalid/not-sa09.xml" ID="inv-not-sa09" ENTITIES="parameter"
	SECTIONS="2.9" TYPE="invalid">
    Tests the Standalone Document Declaration VC, ensuring that
    an ID attribute needing normalization causes a validity error.</TEST>

<TEST URI="invalid/not-sa10.xml" ID="inv-not-sa10" ENTITIES="parameter"
	SECTIONS="2.9" TYPE="invalid">
    Tests the Standalone Document Declaration VC, ensuring that
    an IDREF attribute needing normalization causes a validity error.</TEST>

<TEST URI="invalid/not-sa11.xml" ID="inv-not-sa11" ENTITIES="parameter"
	SECTIONS="2.9" TYPE="invalid">
    Tests the Standalone Document Declaration VC, ensuring that
    an IDREFS attribute needing normalization causes a validity error.</TEST>

<TEST URI="invalid/not-sa12.xml" ID="inv-not-sa12" ENTITIES="parameter"
	SECTIONS="2.9" TYPE="invalid">
    Tests the Standalone Document Declaration VC, ensuring that
    an ENTITY attribute needing normalization causes a validity error.</TEST>

<TEST URI="invalid/not-sa13.xml" ID="inv-not-sa13" ENTITIES="parameter"
	SECTIONS="2.9" TYPE="invalid">
    Tests the Standalone Document Declaration VC, ensuring that
    an ENTITIES attribute needing normalization causes a validity error.</TEST>

<TEST URI="invalid/not-sa14.xml" ID="inv-not-sa14" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    CDATA sections containing only whitespace do not match the nonterminal S, and cannot 
    appear in these positions.</TEST>

<TEST URI="invalid/optional01.xml" ID="optional01" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing no children where
    one is required.</TEST>

<TEST URI="invalid/optional02.xml" ID="optional02" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    two children where one is required.</TEST>

<TEST URI="invalid/optional03.xml" ID="optional03" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    no children where two are required.</TEST>

<TEST URI="invalid/optional04.xml" ID="optional04" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    three children where two are required.</TEST>

<TEST URI="invalid/optional05.xml" ID="optional05" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    no children where one or two are
    required (one construction of that model).</TEST>

<TEST URI="invalid/optional06.xml" ID="optional06" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    no children where one or two are
    required (a second construction of that model).</TEST>

<TEST URI="invalid/optional07.xml" ID="optional07" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    no children where one or two are
    required (a third construction of that model).</TEST>

<TEST URI="invalid/optional08.xml" ID="optional08" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    no children where one or two are
    required (a fourth construction of that model).</TEST>

<TEST URI="invalid/optional09.xml" ID="optional09" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    no children where one or two are
    required (a fifth construction of that model).</TEST>

<TEST URI="invalid/optional10.xml" ID="optional10" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    three children where one or two are
    required (a basic construction of that model).</TEST>

<TEST URI="invalid/optional11.xml" ID="optional11" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    three children where one or two are
    required (a second construction of that model).</TEST>

<TEST URI="invalid/optional12.xml" ID="optional12" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    three children where one or two are
    required (a third construction of that model).</TEST>

<TEST URI="invalid/optional13.xml" ID="optional13" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    three children where one or two are
    required (a fourth construction of that model).</TEST>

<TEST URI="invalid/optional14.xml" ID="optional14" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    three children where one or two are
    required (a fifth construction of that model).</TEST>

<TEST URI="invalid/optional20.xml" ID="optional20" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    no children where one or more are
    required (a sixth construction of that model).</TEST>

<TEST URI="invalid/optional21.xml" ID="optional21" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    no children where one or more are
    required (a seventh construction of that model).</TEST>

<TEST URI="invalid/optional22.xml" ID="optional22" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    no children where one or more are
    required (an eigth construction of that model).</TEST>

<TEST URI="invalid/optional23.xml" ID="optional23" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    no children where one or more are
    required (a ninth construction of that model).</TEST>

<TEST URI="invalid/optional24.xml" ID="optional24" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    no children where one or more are
    required (a tenth construction of that model).</TEST>

<TEST URI="invalid/optional25.xml" ID="optional25" ENTITIES="parameter"
	SECTIONS="3" TYPE="invalid">
    Tests the Element Valid VC (clause 2) for one
    instance of "children" content model, providing
    text content where one or more elements are
    required.</TEST>

<TEST URI="invalid/required00.xml" ID="inv-required00"
	SECTIONS="3.3.2" TYPE="invalid">
    Tests the Required Attribute VC.</TEST>

<TEST URI="invalid/required01.xml" ID="inv-required01"
	SECTIONS="3.1 2.10" TYPE="invalid">
    Tests the Attribute Value Type (declared)
    VC for the xml:space attribute</TEST>

<TEST URI="invalid/required02.xml" ID="inv-required02"
	SECTIONS="3.1 2.12" TYPE="invalid">
    Tests the Attribute Value Type (declared)
    VC for the xml:lang attribute</TEST>

<TEST URI="invalid/root.xml" ID="root" ENTITIES="parameter" SECTIONS="2.8" TYPE="invalid">
    Tests the Root Element Type VC</TEST>

<TEST TYPE="invalid" URI="invalid/attr01.xml" ID="attr01" SECTIONS="3.3.1">
    Tests the "Entity Name" VC for the ENTITY attribute type.</TEST>

<TEST TYPE="invalid" URI="invalid/attr02.xml" ID="attr02" SECTIONS="3.3.1">
    Tests the "Entity Name" VC for the ENTITIES attribute type.</TEST>

<TEST TYPE="invalid" URI="invalid/attr03.xml" ID="attr03" SECTIONS="3.3.1">
    Tests the "Notation Attributes" VC for the
    NOTATION attribute type, first clause:  value must be one
    of the ones that's declared.</TEST>

<TEST TYPE="invalid" URI="invalid/attr04.xml" ID="attr04" SECTIONS="3.3.1">
    Tests the "Notation Attributes" VC for the
    NOTATION attribute type, second clause:  the names in the
    declaration must all be declared.</TEST>

<TEST TYPE="invalid" URI="invalid/attr05.xml" ID="attr05" SECTIONS="3.3.1">
    Tests the "Name Token" VC for the NMTOKEN attribute type.</TEST>

<TEST TYPE="invalid" URI="invalid/attr06.xml" ID="attr06" SECTIONS="3.3.1">
    Tests the "Name Token" VC for the NMTOKENS attribute type.</TEST>

<TEST TYPE="invalid" URI="invalid/attr07.xml" ID="attr07" SECTIONS="3.3.1">
    Tests the "Enumeration" VC by providing
    a value which wasn't one of the choices.</TEST>

<TEST TYPE="invalid" URI="invalid/attr08.xml" ID="attr08" SECTIONS="3.3.2">
    Tests the "Fixed Attribute Default" VC by
    providing the wrong value.</TEST>

<TEST TYPE="invalid" URI="invalid/attr09.xml" ID="attr09" SECTIONS="3.3.2">
    Tests the "Attribute Default Legal" VC by
    providing an illegal IDREF value.</TEST>

<TEST TYPE="invalid" URI="invalid/attr10.xml" ID="attr10" SECTIONS="3.3.2">
    Tests the "Attribute Default Legal" VC by
    providing an illegal IDREFS value.</TEST>

<TEST TYPE="invalid" URI="invalid/attr11.xml" ID="attr11" SECTIONS="3.3.2">
    Tests the "Attribute Default Legal" VC by
    providing an illegal ENTITY value.</TEST>

<TEST TYPE="invalid" URI="invalid/attr12.xml" ID="attr12" SECTIONS="3.3.2">
    Tests the "Attribute Default Legal" VC by
    providing an illegal ENTITIES value.</TEST>

<TEST TYPE="invalid" URI="invalid/attr13.xml" ID="attr13" SECTIONS="3.3.2">
    Tests the "Attribute Default Legal" VC by
    providing an illegal NMTOKEN value.</TEST>

<TEST TYPE="invalid" URI="invalid/attr14.xml" ID="attr14" SECTIONS="3.3.2">
    Tests the "Attribute Default Legal" VC by
    providing an illegal NMTOKENS value.</TEST>

<TEST TYPE="invalid" URI="invalid/attr15.xml" ID="attr15" SECTIONS="3.3.2">
    Tests the "Attribute Default Legal" VC by
    providing an illegal NOTATIONS value.</TEST>

<TEST TYPE="invalid" URI="invalid/attr16.xml" ID="attr16" SECTIONS="3.3.2">
    Tests the "Attribute Default Legal" VC by
    providing an illegal enumeration value.</TEST>

<TEST URI="invalid/utf16b.xml" ID="utf16b" SECTIONS="4.3.3 2.8" TYPE="invalid">
    Tests reading an invalid "big endian" UTF-16 document</TEST>

<TEST URI="invalid/utf16l.xml" ID="utf16l" SECTIONS="4.3.3 2.8" TYPE="invalid">
    Tests reading an invalid "little endian" UTF-16 document</TEST>

<TEST URI="invalid/empty.xml" ID="empty" TYPE="invalid" SECTIONS="2.4 2.7 [18] 3">
    CDATA section containing only white space does not match the nonterminal S, and cannot 
    appear in these positions. </TEST>