]> gitweb.factorcode.org Git - factor.git/blob - basis/xml/tests/xmltest/xmltest.xml
733523bc165c6fd49017abac56049c0517a7ef57
[factor.git] / basis / xml / tests / xmltest / xmltest.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     @(#)xmltest.xml     1.12 99/02/12
4     Copyright 1998-1999 by Sun Microsystems, Inc.
5     All Rights Reserved.
6 -->
7
8 <TESTCASES PROFILE="James Clark XMLTEST cases, 18-Nov-1998">
9
10 <!-- Start:  not-wf/sa -->
11 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-001"
12         URI="not-wf/sa/001.xml" SECTIONS="3.1 [41]">
13     Attribute values must start with attribute names, not "?". </TEST>
14 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-002"
15         URI="not-wf/sa/002.xml" SECTIONS="2.3 [4]">
16     Names may not start with "."; it's not a Letter. </TEST>
17 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-003"
18         URI="not-wf/sa/003.xml" SECTIONS="2.6 [16]">
19     Processing Instruction target name is required.</TEST>
20 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-004"
21         URI="not-wf/sa/004.xml" SECTIONS="2.6 [16]">
22     SGML-ism:  processing instructions end in '?&gt;' not '&gt;'. </TEST>
23 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-005"
24         URI="not-wf/sa/005.xml" SECTIONS="2.6 [16]">
25     Processing instructions end in '?&gt;' not '?'. </TEST>
26 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-006"
27         URI="not-wf/sa/006.xml" SECTIONS="2.5 [16]">
28     XML comments may not contain "--" </TEST>
29 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-007"
30         URI="not-wf/sa/007.xml" SECTIONS="4.1 [68]">
31     General entity references have no whitespace after the
32     entity name and before the semicolon. </TEST>
33 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-008"
34         URI="not-wf/sa/008.xml" SECTIONS="2.3 [5]">
35     Entity references must include names, which don't begin
36     with '.' (it's not a Letter or other name start character). </TEST>
37 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-009"
38         URI="not-wf/sa/009.xml" SECTIONS="4.1 [66]">
39     Character references may have only decimal or numeric strings.</TEST>
40 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-010"
41         URI="not-wf/sa/010.xml" SECTIONS="4.1 [68]">
42     Ampersand may only appear as part of a general entity reference.</TEST>
43 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-011"
44         URI="not-wf/sa/011.xml" SECTIONS="3.1 [41]">
45     SGML-ism:  attribute values must be explicitly assigned a
46     value, it can't act as a boolean toggle. </TEST>
47 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-012"
48         URI="not-wf/sa/012.xml" SECTIONS="2.3 [10]">
49     SGML-ism:  attribute values must be quoted in all cases. </TEST>
50 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-013"
51         URI="not-wf/sa/013.xml" SECTIONS="2.3 [10]">
52     The quotes on both ends of an attribute value must match. </TEST>
53 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-014"
54         URI="not-wf/sa/014.xml" SECTIONS="2.3 [10]">
55     Attribute values may not contain literal '&lt;' characters. </TEST>
56 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-015"
57         URI="not-wf/sa/015.xml" SECTIONS="3.1 [41]">
58     Attribute values need a value, not just an equals sign. </TEST>
59 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-016"
60         URI="not-wf/sa/016.xml" SECTIONS="3.1 [41]">
61     Attribute values need an associated name.</TEST>
62 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-017"
63         URI="not-wf/sa/017.xml" SECTIONS="2.7 [18]">
64     CDATA sections need a terminating ']]&gt;'. </TEST>
65 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-018"
66         URI="not-wf/sa/018.xml" SECTIONS="2.7 [19]">
67     CDATA sections begin with a literal '&lt;![CDATA[', no space.</TEST>
68 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-019"
69         URI="not-wf/sa/019.xml" SECTIONS="3.1 [42]">
70     End tags may not be abbreviated as '&lt;/&gt;'.</TEST>
71 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-020"
72         URI="not-wf/sa/020.xml" SECTIONS="2.3 [10]">
73     Attribute values may not contain literal '&amp;'
74     characters except as part of an entity reference. </TEST>
75 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-021"
76         URI="not-wf/sa/021.xml" SECTIONS="2.3 [10]">
77     Attribute values may not contain literal '&amp;'
78     characters except as part of an entity reference. </TEST>
79 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-022"
80         URI="not-wf/sa/022.xml" SECTIONS="4.1 [66]">
81     Character references end with semicolons, always!</TEST>
82 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-023"
83         URI="not-wf/sa/023.xml" SECTIONS="2.3 [5]">
84     Digits are not valid name start characters. </TEST>
85 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-024"
86         URI="not-wf/sa/024.xml" SECTIONS="2.3 [5]">
87     Digits are not valid name start characters. </TEST>
88 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-025"
89         URI="not-wf/sa/025.xml" SECTIONS="2.4 [14]">
90     Text may not contain a literal ']]&gt;' sequence. </TEST>
91 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-026"
92         URI="not-wf/sa/026.xml" SECTIONS="2.4 [14]">
93     Text may not contain a literal ']]&gt;' sequence. </TEST>
94 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-027"
95         URI="not-wf/sa/027.xml" SECTIONS="2.5 [15]">
96     Comments must be terminated with "--&gt;".</TEST>
97 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-028"
98         URI="not-wf/sa/028.xml" SECTIONS="2.6 [16]">
99     Processing instructions must end with '?&gt;'. </TEST>
100 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-029"
101         URI="not-wf/sa/029.xml" SECTIONS="2.4 [14]">
102     Text may not contain a literal ']]&gt;' sequence. </TEST>
103 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-030"
104         URI="not-wf/sa/030.xml" SECTIONS="2.2 [2]">
105     A form feed is not a legal XML character. </TEST>
106 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-031"
107         URI="not-wf/sa/031.xml" SECTIONS="2.2 [2]">
108     A form feed is not a legal XML character. </TEST>
109 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-032"
110         URI="not-wf/sa/032.xml" SECTIONS="2.2 [2]">
111     A form feed is not a legal XML character. </TEST>
112 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-033"
113         URI="not-wf/sa/033.xml" SECTIONS="2.2 [2]">
114     An ESC (octal 033) is not a legal XML character. </TEST>
115 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-034"
116         URI="not-wf/sa/034.xml" SECTIONS="2.2 [2]">
117     A form feed is not a legal XML character. </TEST>
118 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-035"
119         URI="not-wf/sa/035.xml" SECTIONS="3.1 [43]">
120     The '&lt;' character is a markup delimiter and must
121     start an element, CDATA section, PI, or comment. </TEST>
122 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-036"
123         URI="not-wf/sa/036.xml" SECTIONS="2.8 [27]">
124     Text may not appear after the root element. </TEST>
125 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-037"
126         URI="not-wf/sa/037.xml" SECTIONS="2.8 [27]">
127     Character references may not appear after the root element. </TEST>
128 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-038"
129         URI="not-wf/sa/038.xml" SECTIONS="3.1">
130     Tests the "Unique Att Spec" WF constraint by providing
131     multiple values for an attribute.</TEST>
132 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-039"
133         URI="not-wf/sa/039.xml" SECTIONS="3">
134     Tests the Element Type Match WFC - end tag name must
135     match start tag name.</TEST>
136 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-040"
137         URI="not-wf/sa/040.xml" SECTIONS="2.8 [27]">
138     Provides two document elements.</TEST>
139 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-041"
140         URI="not-wf/sa/041.xml" SECTIONS="2.8 [27]">
141     Provides two document elements.</TEST>
142 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-042"
143         URI="not-wf/sa/042.xml" SECTIONS="3.1 [42]">
144      Invalid End Tag </TEST>
145 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-043"
146         URI="not-wf/sa/043.xml" SECTIONS="2.8 [27]">
147     Provides #PCDATA text after the document element. </TEST>
148 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-044"
149         URI="not-wf/sa/044.xml" SECTIONS="2.8 [27]">
150     Provides two document elements.</TEST>
151 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-045"
152         URI="not-wf/sa/045.xml" SECTIONS="3.1 [44]">
153     Invalid Empty Element Tag </TEST>
154 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-046"
155         URI="not-wf/sa/046.xml" SECTIONS="3.1 [40]">
156     This start (or empty element) tag was not terminated correctly. </TEST>
157 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-047"
158         URI="not-wf/sa/047.xml" SECTIONS="3.1 [44]">
159     Invalid empty element tag invalid whitespace </TEST>
160 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-048"
161         URI="not-wf/sa/048.xml" SECTIONS="2.8 [27]">
162     Provides a CDATA section after the root element.</TEST>
163 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-049"
164         URI="not-wf/sa/049.xml" SECTIONS="3.1 [40]">
165     Missing start tag </TEST>
166 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-050"
167         URI="not-wf/sa/050.xml" SECTIONS="2.1 [1]">
168     Empty document, with no root element. </TEST>
169 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-051"
170         URI="not-wf/sa/051.xml" SECTIONS="2.7 [18]">
171      CDATA is invalid at top level of document.</TEST>
172 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-052"
173         URI="not-wf/sa/052.xml" SECTIONS="4.1 [66]">
174     Invalid character reference. </TEST>
175 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-053"
176         URI="not-wf/sa/053.xml" SECTIONS="3.1 [42]">
177     End tag does not match start tag. </TEST>
178 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-054"
179         URI="not-wf/sa/054.xml" SECTIONS="4.2.2 [75]">
180      PUBLIC requires two literals.</TEST>
181 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-055"
182         URI="not-wf/sa/055.xml" SECTIONS="2.8 [28]">
183     Invalid Document Type Definition format. </TEST>
184 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-056"
185         URI="not-wf/sa/056.xml" SECTIONS="2.8 [28]">
186     Invalid Document Type Definition format - misplaced comment. </TEST>
187 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-057"
188         URI="not-wf/sa/057.xml" SECTIONS="3.2 [45]">
189     This isn't SGML; comments can't exist in declarations. </TEST>
190 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-058"
191         URI="not-wf/sa/058.xml" SECTIONS="3.3.1 [54]">
192     Invalid character , in ATTLIST enumeration </TEST>
193 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-059"
194         URI="not-wf/sa/059.xml" SECTIONS="3.3.1 [59]">
195     String literal must be in quotes. </TEST>
196 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-060"
197         URI="not-wf/sa/060.xml" SECTIONS="3.3.1 [56]">
198      Invalid type NAME defined in ATTLIST.</TEST>
199 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-061"
200         URI="not-wf/sa/061.xml" SECTIONS="4.2.2 [75]">
201     External entity declarations require whitespace between public
202     and system IDs.</TEST>
203 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-062"
204         URI="not-wf/sa/062.xml" SECTIONS="4.2 [71]">
205     Entity declarations need space after the entity name. </TEST>
206 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-063"
207         URI="not-wf/sa/063.xml" SECTIONS="2.8 [29]">
208     Conditional sections may only appear in the external
209     DTD subset. </TEST>
210 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-064"
211         URI="not-wf/sa/064.xml" SECTIONS="3.3 [53]">
212     Space is required between attribute type and default values
213     in &lt;!ATTLIST...&gt; declarations. </TEST>
214 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-065"
215         URI="not-wf/sa/065.xml" SECTIONS="3.3 [53]">
216     Space is required between attribute name and type
217     in &lt;!ATTLIST...&gt; declarations. </TEST>
218 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-066"
219         URI="not-wf/sa/066.xml" SECTIONS="3.3 [52]">
220     Required whitespace is missing. </TEST>
221 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-067"
222         URI="not-wf/sa/067.xml" SECTIONS="3.3 [53]">
223     Space is required between attribute type and default values
224     in &lt;!ATTLIST...&gt; declarations. </TEST>
225 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-068"
226         URI="not-wf/sa/068.xml" SECTIONS="3.3.1 [58]">
227     Space is required between NOTATION keyword and list of
228     enumerated choices in &lt;!ATTLIST...&gt; declarations. </TEST>
229 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-069"
230         URI="not-wf/sa/069.xml" SECTIONS="4.2.2 [76]">
231     Space is required before an NDATA entity annotation.</TEST>
232 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-070"
233         URI="not-wf/sa/070.xml" SECTIONS="2.5 [16]">
234     XML comments may not contain "--" </TEST>
235 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-071"
236         URI="not-wf/sa/071.xml" SECTIONS="4.1 [68]">
237      ENTITY can't reference itself directly or indirectly.</TEST>
238 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-072"
239         URI="not-wf/sa/072.xml" SECTIONS="4.1 [68]">
240     Undefined ENTITY foo. </TEST>
241 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-073"
242         URI="not-wf/sa/073.xml" SECTIONS="4.1 [68]">
243     Undefined ENTITY f. </TEST>
244 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-074"
245         URI="not-wf/sa/074.xml" SECTIONS="4.3.2">
246     Internal general parsed entities are only well formed if
247     they match the "content" production. </TEST>
248 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-075"
249         URI="not-wf/sa/075.xml" SECTIONS="4.1 [68]">
250     ENTITY can't reference itself directly or indirectly. </TEST>
251 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-076"
252         URI="not-wf/sa/076.xml" SECTIONS="4.1 [68]">
253     Undefined ENTITY foo. </TEST>
254 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-077"
255         URI="not-wf/sa/077.xml" SECTIONS="41. [68]">
256     Undefined ENTITY bar. </TEST>
257 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-078"
258         URI="not-wf/sa/078.xml" SECTIONS="4.1 [68]">
259     Undefined ENTITY foo. </TEST>
260 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-079"
261         URI="not-wf/sa/079.xml" SECTIONS="4.1 [68]">
262     ENTITY can't reference itself directly or indirectly. </TEST>
263 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-080"
264         URI="not-wf/sa/080.xml" SECTIONS="4.1 [68]">
265     ENTITY can't reference itself directly or indirectly. </TEST>
266 <TEST TYPE="not-wf" ENTITIES="general" ID="not-wf-sa-081"
267         URI="not-wf/sa/081.xml" SECTIONS="3.1">
268     This tests the <EM>No External Entity References</EM> WFC,
269     since the entity is referred to within an attribute.  </TEST>
270 <TEST TYPE="not-wf" ENTITIES="general" ID="not-wf-sa-082"
271         URI="not-wf/sa/082.xml" SECTIONS="3.1">
272     This tests the <EM>No External Entity References</EM> WFC,
273     since the entity is referred to within an attribute.  </TEST>
274 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-083"
275         URI="not-wf/sa/083.xml" SECTIONS="4.2.2 [76]">
276     Undefined NOTATION n. </TEST>
277 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-084"
278         URI="not-wf/sa/084.xml" SECTIONS="4.1">
279     Tests the <EM>Parsed Entity</EM> WFC by referring to an
280     unparsed entity.  (This precedes the error of not declaring
281     that entity's notation, which may be detected any time before
282     the DTD parsing is completed.) </TEST>
283 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-085"
284         URI="not-wf/sa/085.xml" SECTIONS="2.3 [13]">
285     Public IDs may not contain "[". </TEST>
286 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-086"
287         URI="not-wf/sa/086.xml" SECTIONS="2.3 [13]">
288     Public IDs may not contain "[". </TEST>
289 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-087"
290         URI="not-wf/sa/087.xml" SECTIONS="2.3 [13]">
291     Public IDs may not contain "[". </TEST>
292 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-088"
293         URI="not-wf/sa/088.xml" SECTIONS="2.3 [10]">
294     Attribute values are terminated by literal quote characters,
295     and any entity expansion is done afterwards. </TEST>
296 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-089"
297         URI="not-wf/sa/089.xml" SECTIONS="4.2 [74]">
298     Parameter entities "are" always parsed; NDATA annotations
299     are not permitted.</TEST>
300 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-090"
301         URI="not-wf/sa/090.xml" SECTIONS="2.3 [10]">
302     Attributes may not contain a literal "&lt;" character;
303     this one has one because of reference expansion. </TEST>
304 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-091"
305         URI="not-wf/sa/091.xml" SECTIONS="4.2 [74]">
306     Parameter entities "are" always parsed; NDATA annotations
307     are not permitted.</TEST>
308 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-092"
309         URI="not-wf/sa/092.xml" SECTIONS="4.5">
310     The replacement text of this entity has an illegal reference,
311     because the character reference is expanded immediately. </TEST>
312 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-093"
313         URI="not-wf/sa/093.xml" SECTIONS="4.1 [66]">
314     Hexadecimal character references may not use the uppercase 'X'.</TEST>
315 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-094"
316         URI="not-wf/sa/094.xml" SECTIONS="2.8 [24]">
317     Prolog VERSION must be lowercase. </TEST>
318 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-095"
319         URI="not-wf/sa/095.xml" SECTIONS="2.8 [23]">
320     VersionInfo must come before EncodingDecl. </TEST>
321 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-096"
322         URI="not-wf/sa/096.xml" SECTIONS="2.9 [32]">
323     Space is required before the standalone declaration. </TEST>
324 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-097"
325         URI="not-wf/sa/097.xml" SECTIONS="2.8 [24]">
326     Both quotes surrounding VersionNum must be the same. </TEST>
327 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-098"
328         URI="not-wf/sa/098.xml" SECTIONS="2.8 [23]">
329     Only one "version=..." string may appear in an XML declaration.</TEST>
330 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-099"
331         URI="not-wf/sa/099.xml" SECTIONS="2.8 [23]">
332     Only three pseudo-attributes are in the XML declaration,
333     and "valid=..." is not one of them. </TEST>
334 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-100"
335         URI="not-wf/sa/100.xml" SECTIONS="2.9 [32]">
336     Only "yes" and "no" are permitted as values of "standalone". </TEST>
337 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-101"
338         URI="not-wf/sa/101.xml" SECTIONS="4.3.3 [81]">
339     Space is not permitted in an encoding name. </TEST>
340 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-102"
341         URI="not-wf/sa/102.xml" SECTIONS="2.8 [26]">
342     Provides an illegal XML version number; spaces are illegal.</TEST>
343 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-103"
344         URI="not-wf/sa/103.xml" SECTIONS="4.3.2">
345     End-tag required for element foo. </TEST>
346 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-104"
347         URI="not-wf/sa/104.xml" SECTIONS="4.3.2">
348     Internal general parsed entities are only well formed if
349     they match the "content" production. </TEST>
350 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-105"
351         URI="not-wf/sa/105.xml" SECTIONS="2.7 ">
352     Invalid placement of CDATA section. </TEST>
353 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-106"
354         URI="not-wf/sa/106.xml" SECTIONS="4.2">
355     Invalid placement of entity declaration. </TEST>
356 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-107"
357         URI="not-wf/sa/107.xml" SECTIONS="2.8 [28]">
358      Invalid document type declaration.  CDATA alone is invalid.</TEST>
359 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-108"
360         URI="not-wf/sa/108.xml" SECTIONS="2.7 [19]">
361     No space in '&lt;![CDATA['.</TEST>
362 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-109"
363         URI="not-wf/sa/109.xml" SECTIONS="4.2 [70]">
364     Tags invalid within EntityDecl. </TEST>
365 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-110"
366         URI="not-wf/sa/110.xml" SECTIONS="4.1 [68]">
367     Entity reference must be in content of element. </TEST>
368 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-111"
369         URI="not-wf/sa/111.xml" SECTIONS="3.1 [43]">
370     Entiry reference must be in content of element not Start-tag. </TEST>
371 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-112"
372         URI="not-wf/sa/112.xml" SECTIONS="2.7 [19]">
373     CDATA sections start '&lt;![CDATA[', not '&lt;!cdata['.</TEST>
374 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-113"
375         URI="not-wf/sa/113.xml" SECTIONS="2.3 [9]">
376     Parameter entity values must use valid reference syntax;
377     this reference is malformed.</TEST>
378 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-114"
379         URI="not-wf/sa/114.xml" SECTIONS="2.3 [9]">
380     General entity values must use valid reference syntax;
381     this reference is malformed.</TEST>
382 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-115"
383         URI="not-wf/sa/115.xml" SECTIONS="4.5">
384     The replacement text of this entity is an illegal character
385     reference, which must be rejected when it is parsed in the
386     context of an attribute value.</TEST>
387 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-116"
388         URI="not-wf/sa/116.xml" SECTIONS="4.3.2">
389     Internal general parsed entities are only well formed if
390     they match the "content" production.  This is a partial
391     character reference, not a full one. </TEST>
392 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-117"
393         URI="not-wf/sa/117.xml" SECTIONS="4.3.2">
394     Internal general parsed entities are only well formed if
395     they match the "content" production.  This is a partial
396     character reference, not a full one. </TEST>
397 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-118"
398         URI="not-wf/sa/118.xml" SECTIONS="4.1 [68]">
399     Entity reference expansion is not recursive.</TEST>
400 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-119"
401         URI="not-wf/sa/119.xml" SECTIONS="4.3.2">
402     Internal general parsed entities are only well formed if
403     they match the "content" production.  This is a partial
404     character reference, not a full one. </TEST>
405 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-120"
406         URI="not-wf/sa/120.xml" SECTIONS="4.5">
407     Character references are expanded in the replacement text of
408     an internal entity, which is then parsed as usual.  Accordingly,
409     &amp; must be doubly quoted - encoded either as <EM>&amp;amp;</EM>
410     or as <EM>&amp;#38;#38;</EM>. </TEST>
411 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-121"
412         URI="not-wf/sa/121.xml" SECTIONS="4.1 [68]">
413     A name of an ENTITY was started with an invalid character. </TEST>
414 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-122"
415         URI="not-wf/sa/122.xml" SECTIONS="3.2.1 [47]">
416     Invalid syntax mixed connectors are used. </TEST>
417 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-123"
418         URI="not-wf/sa/123.xml" SECTIONS="3.2.1 [48]">
419     Invalid syntax mismatched parenthesis. </TEST>
420 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-124"
421         URI="not-wf/sa/124.xml" SECTIONS="3.2.2 [51]">
422     Invalid format of Mixed-content declaration. </TEST>
423 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-125"
424         URI="not-wf/sa/125.xml" SECTIONS="3.2.2 [51]">
425     Invalid syntax extra set of parenthesis not necessary. </TEST>
426 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-126"
427         URI="not-wf/sa/126.xml" SECTIONS="3.2.2 [51]">
428     Invalid syntax Mixed-content must be defined as zero or more. </TEST>
429 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-127"
430         URI="not-wf/sa/127.xml" SECTIONS="3.2.2 [51]">
431     Invalid syntax Mixed-content must be defined as zero or more. </TEST>
432 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-128"
433         URI="not-wf/sa/128.xml" SECTIONS="2.7 [18]">
434     Invalid CDATA syntax. </TEST>
435 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-129"
436         URI="not-wf/sa/129.xml" SECTIONS="3.2 [45]">
437     Invalid syntax for Element Type Declaration. </TEST>
438 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-130"
439         URI="not-wf/sa/130.xml" SECTIONS="3.2 [45]">
440     Invalid syntax for Element Type Declaration. </TEST>
441 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-131"
442         URI="not-wf/sa/131.xml" SECTIONS="3.2 [45]">
443     Invalid syntax for Element Type Declaration. </TEST>
444 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-132"
445         URI="not-wf/sa/132.xml" SECTIONS="3.2.1 [50]">
446     Invalid syntax mixed connectors used. </TEST>
447 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-133"
448         URI="not-wf/sa/133.xml" SECTIONS="3.2.1">
449     Illegal whitespace before optional character causes syntax error. </TEST>
450 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-134"
451         URI="not-wf/sa/134.xml" SECTIONS="3.2.1">
452     Illegal whitespace before optional character causes syntax error. </TEST>
453 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-135"
454         URI="not-wf/sa/135.xml" SECTIONS="3.2.1 [47]">
455     Invalid character used as connector. </TEST>
456 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-136"
457         URI="not-wf/sa/136.xml" SECTIONS="3.2 [45]">
458     Tag omission is invalid in XML. </TEST>
459 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-137"
460         URI="not-wf/sa/137.xml" SECTIONS="3.2 [45]">
461     Space is required before a content model. </TEST>
462 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-138"
463         URI="not-wf/sa/138.xml" SECTIONS="3.2.1 [48]">
464     Invalid syntax for content particle.  </TEST>
465 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-139"
466         URI="not-wf/sa/139.xml" SECTIONS="3.2.1 [46]">
467     The element-content model should not be empty. </TEST>
468 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-140"
469         URI="not-wf/sa/140.xml" SECTIONS="2.3 [4]"
470         EDITION="1 2 3 4">
471     Character '&amp;#x309a;' is a CombiningChar, not a
472     Letter, and so may not begin a name.</TEST>
473 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-141"
474         URI="not-wf/sa/141.xml" SECTIONS="2.3 [5]"
475         EDITION="1 2 3 4">
476     Character #x0E5C is not legal in XML names. </TEST>
477 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-142"
478         URI="not-wf/sa/142.xml" SECTIONS="2.2 [2]">
479     Character #x0000 is not legal anywhere in an XML document. </TEST>
480 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-143"
481         URI="not-wf/sa/143.xml" SECTIONS="2.2 [2]">
482     Character #x001F is not legal anywhere in an XML document. </TEST>
483 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-144"
484         URI="not-wf/sa/144.xml" SECTIONS="2.2 [2]">
485     Character #xFFFF is not legal anywhere in an XML document. </TEST>
486 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-145"
487         URI="not-wf/sa/145.xml" SECTIONS="2.2 [2]">
488     Character #xD800 is not legal anywhere in an XML document.  (If it
489     appeared in a UTF-16 surrogate pair, it'd represent half of a UCS-4
490     character and so wouldn't really be in the document.) </TEST>
491 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-146"
492         URI="not-wf/sa/146.xml" SECTIONS="2.2 [2]">
493     Character references must also refer to legal XML characters;
494     #x00110000 is one more than the largest legal character.</TEST>
495 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-147"
496         URI="not-wf/sa/147.xml" SECTIONS="2.8 [22]">
497     XML Declaration may not be preceded by whitespace.</TEST>
498 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-148"
499         URI="not-wf/sa/148.xml" SECTIONS="2.8 [22]">
500     XML Declaration may not be preceded by comments or whitespace.</TEST>
501 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-149"
502         URI="not-wf/sa/149.xml" SECTIONS="2.8 [28]">
503     XML Declaration may not be within a DTD.</TEST>
504 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-150"
505         URI="not-wf/sa/150.xml" SECTIONS="3.1 [43]">
506     XML declarations may not be within element content. </TEST>
507 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-151"
508         URI="not-wf/sa/151.xml" SECTIONS="2.8 [27]">
509     XML declarations may not follow document content.</TEST>
510 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-152"
511         URI="not-wf/sa/152.xml" SECTIONS="2.8 [22]">
512     XML declarations must include the "version=..." string.</TEST>
513 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-153"
514         URI="not-wf/sa/153.xml" SECTIONS="4.3.2">
515     Text declarations may not begin internal parsed entities;
516     they may only appear at the beginning of external parsed
517     (parameter or general) entities. </TEST>
518 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-154"
519         URI="not-wf/sa/154.xml" SECTIONS="2.8 2.6 [23, 17]">
520     '&lt;?XML ...?&gt;' is neither an XML declaration
521     nor a legal processing instruction target name. </TEST>
522 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-155"
523         URI="not-wf/sa/155.xml" SECTIONS="2.8 2.6 [23, 17]">
524     '&lt;?xmL ...?&gt;' is neither an XML declaration
525     nor a legal processing instruction target name. </TEST>
526 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-156"
527         URI="not-wf/sa/156.xml" SECTIONS="2.8 2.6 [23, 17]">
528     '&lt;?xMl ...?&gt;' is neither an XML declaration
529     nor a legal processing instruction target name. </TEST>
530 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-157"
531         URI="not-wf/sa/157.xml" SECTIONS="2.6 [17]">
532     '&lt;?xmL ...?&gt;' is not a legal processing instruction
533     target name. </TEST>
534 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-158"
535         URI="not-wf/sa/158.xml" SECTIONS="3.3 [52]">
536     SGML-ism:  "#NOTATION gif" can't have attributes. </TEST>
537 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-159"
538         URI="not-wf/sa/159.xml" SECTIONS="2.3 [9]">
539     Uses '&amp;' unquoted in an entity declaration,
540     which is illegal syntax for an entity reference.</TEST>
541 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-160"
542         URI="not-wf/sa/160.xml" SECTIONS="2.8">
543     Violates the <EM>PEs in Internal Subset</EM> WFC
544     by using a PE reference within a declaration. </TEST>
545 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-161"
546         URI="not-wf/sa/161.xml" SECTIONS="2.8">
547     Violates the <EM>PEs in Internal Subset</EM> WFC
548     by using a PE reference within a declaration. </TEST>
549 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-162"
550         URI="not-wf/sa/162.xml" SECTIONS="2.8">
551     Violates the <EM>PEs in Internal Subset</EM> WFC
552     by using a PE reference within a declaration. </TEST>
553 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-163"
554         URI="not-wf/sa/163.xml" SECTIONS="4.1 [69]">
555     Invalid placement of Parameter entity reference. </TEST>
556 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-164"
557         URI="not-wf/sa/164.xml" SECTIONS="4.1 [69]">
558     Invalid placement of Parameter entity reference. </TEST>
559 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-165"
560         URI="not-wf/sa/165.xml" SECTIONS="4.2 [72]">
561     Parameter entity declarations must have a space before
562     the '%'. </TEST>
563 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-166"
564         URI="not-wf/sa/166.xml" SECTIONS="2.2 [2]">
565     Character FFFF is not legal anywhere in an XML document. </TEST>
566 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-167"
567         URI="not-wf/sa/167.xml" SECTIONS="2.2 [2]">
568     Character FFFE is not legal anywhere in an XML document. </TEST>
569 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-168"
570         URI="not-wf/sa/168.xml" SECTIONS="2.2 [2]">
571     An unpaired surrogate (D800) is not legal anywhere
572     in an XML document.</TEST>
573 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-169"
574         URI="not-wf/sa/169.xml" SECTIONS="2.2 [2]">
575     An unpaired surrogate (DC00) is not legal anywhere
576     in an XML document.</TEST>
577 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-170"
578         URI="not-wf/sa/170.xml" SECTIONS="2.2 [2]">
579     Four byte UTF-8 encodings can encode UCS-4 characters
580     which are beyond the range of legal XML characters
581     (and can't be expressed in Unicode surrogate pairs).
582     This document holds such a character.  </TEST>
583 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-171"
584         URI="not-wf/sa/171.xml" SECTIONS="2.2 [2]">
585     Character FFFF is not legal anywhere in an XML document. </TEST>
586 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-172"
587         URI="not-wf/sa/172.xml" SECTIONS="2.2 [2]">
588     Character FFFF is not legal anywhere in an XML document. </TEST>
589 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-173"
590         URI="not-wf/sa/173.xml" SECTIONS="2.2 [2]">
591     Character FFFF is not legal anywhere in an XML document. </TEST>
592 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-174"
593         URI="not-wf/sa/174.xml" SECTIONS="2.2 [2]">
594     Character FFFF is not legal anywhere in an XML document. </TEST>
595 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-175"
596         URI="not-wf/sa/175.xml" SECTIONS="2.2 [2]">
597     Character FFFF is not legal anywhere in an XML document. </TEST>
598 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-176"
599         URI="not-wf/sa/176.xml" SECTIONS="3 [39]">
600     Start tags must have matching end tags.</TEST>
601 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-177"
602         URI="not-wf/sa/177.xml" SECTIONS="2.2 [2]">
603     Character FFFF is not legal anywhere in an XML document. </TEST>
604 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-178"
605         URI="not-wf/sa/178.xml" SECTIONS="3.1 [41]">
606     Invalid syntax matching double quote is missing. </TEST>
607 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-179"
608         URI="not-wf/sa/179.xml" SECTIONS="4.1 [66]">
609     Invalid syntax matching double quote is missing. </TEST>
610 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-180"
611         URI="not-wf/sa/180.xml" SECTIONS="4.1">
612     The <EM>Entity Declared</EM> WFC requires entities to be declared
613     before they are used in an attribute list declaration. </TEST>
614 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-181"
615         URI="not-wf/sa/181.xml" SECTIONS="4.3.2">
616     Internal parsed entities must match the <EM>content</EM>
617     production to be well formed. </TEST>
618 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-182"
619         URI="not-wf/sa/182.xml" SECTIONS="4.3.2">
620     Internal parsed entities must match the <EM>content</EM>
621     production to be well formed. </TEST>
622 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-183"
623         URI="not-wf/sa/183.xml" SECTIONS="3.2.2 [51]">
624     Mixed content declarations may not include content particles.</TEST>
625 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-184"
626         URI="not-wf/sa/184.xml" SECTIONS="3.2.2 [51]">
627     In mixed content models, element names must not be
628     parenthesized. </TEST>
629 <TEST TYPE="not-wf" ENTITIES="parameter" ID="not-wf-sa-185"
630         URI="not-wf/sa/185.xml" SECTIONS="4.1">
631     Tests the <EM>Entity Declared</EM> WFC.
632     <EM>Note:</EM>  a nonvalidating parser is permitted not to report
633     this WFC violation, since it would need to read an external
634     parameter entity to distinguish it from a violation of
635     the <EM>Standalone Declaration</EM> VC.</TEST>
636 <TEST TYPE="not-wf" ENTITIES="none" ID="not-wf-sa-186"
637         URI="not-wf/sa/186.xml" SECTIONS="3.1 [44]">
638     Whitespace is required between attribute/value pairs. </TEST>
639
640 <!-- Start:  not-wf/not-sa -->
641 <TEST TYPE="not-wf" ENTITIES="both" ID="not-wf-not-sa-001"
642         URI="not-wf/not-sa/001.xml" SECTIONS="3.4 [62]">
643     Conditional sections must be properly terminated ("]&gt;" used
644     instead of "]]&gt;"). </TEST>
645 <TEST TYPE="not-wf" ENTITIES="both" ID="not-wf-not-sa-002"
646         URI="not-wf/not-sa/002.xml" SECTIONS="2.6 [17]">
647     Processing instruction target names may not be "XML" 
648     in any combination of cases. </TEST>
649 <TEST TYPE="not-wf" ENTITIES="both" ID="not-wf-not-sa-003"
650         URI="not-wf/not-sa/003.xml" SECTIONS="3.4 [62]">
651     Conditional sections must be properly terminated ("]]&gt;" omitted). </TEST>
652 <TEST TYPE="not-wf" ENTITIES="both" ID="not-wf-not-sa-004"
653         URI="not-wf/not-sa/004.xml" SECTIONS="3.4 [62]">
654     Conditional sections must be properly terminated ("]]&gt;" omitted). </TEST>
655 <TEST TYPE="error" ENTITIES="both" ID="not-wf-not-sa-005"
656         URI="not-wf/not-sa/005.xml" SECTIONS="4.1">
657     Tests the <EM>Entity Declared</EM> VC by referring to an
658     undefined parameter entity within an external entity.</TEST>
659 <TEST TYPE="not-wf" ENTITIES="both" ID="not-wf-not-sa-006"
660         URI="not-wf/not-sa/006.xml" SECTIONS="3.4 [62]">
661     Conditional sections need a '[' after the INCLUDE or IGNORE. </TEST>
662 <TEST TYPE="not-wf" ENTITIES="both" ID="not-wf-not-sa-007"
663         URI="not-wf/not-sa/007.xml" SECTIONS="4.3.2 [79]">
664     A &lt;!DOCTYPE ...&gt; declaration may not begin any external
665     entity; it's only found once, in the document entity.</TEST>
666 <TEST TYPE="not-wf" ENTITIES="both" ID="not-wf-not-sa-008"
667         URI="not-wf/not-sa/008.xml" SECTIONS="4.1 [69]">
668     In DTDs, the '%' character must be part of a parameter
669     entity reference.</TEST>
670 <TEST TYPE="not-wf" ENTITIES="both" ID="not-wf-not-sa-009"
671         URI="not-wf/not-sa/009.xml" SECTIONS="2.8">
672     This test violates WFC:PE Between Declarations in Production 28a.  
673     The last character of a markup declaration is not contained in the same 
674     parameter-entity text replacement.</TEST>
675 <!-- Start:  not-wf/ext-sa -->
676 <TEST TYPE="not-wf" ENTITIES="both" ID="not-wf-ext-sa-001"
677         URI="not-wf/ext-sa/001.xml" SECTIONS="4.1">
678     Tests the <EM>No Recursion</EM> WFC by having an external general
679     entity be self-recursive.</TEST>
680 <TEST TYPE="not-wf" ENTITIES="both" ID="not-wf-ext-sa-002"
681         URI="not-wf/ext-sa/002.xml" SECTIONS="4.3.1 4.3.2 [77, 78]">
682     External entities have "text declarations", which do
683     not permit the "standalone=..." attribute that's allowed
684     in XML declarations.</TEST>
685 <TEST TYPE="not-wf" ENTITIES="both" ID="not-wf-ext-sa-003"
686         URI="not-wf/ext-sa/003.xml" SECTIONS="2.6 [17]">
687     Only one text declaration is permitted; a second one
688     looks like an illegal processing instruction (target names
689     of "xml" in any case are not allowed). </TEST>
690
691
692 <!-- Start:  invalid/ -->
693
694 <TEST TYPE="invalid" ENTITIES="both" ID="invalid--002"
695         URI="invalid/002.xml" SECTIONS="3.2.1">
696     Tests the "Proper Group/PE Nesting" validity constraint by
697     fragmenting a content model between two parameter entities.</TEST>
698 <TEST TYPE="invalid" ENTITIES="both" ID="invalid--005"
699         URI="invalid/005.xml" SECTIONS="2.8">
700     Tests the "Proper Declaration/PE Nesting" validity constraint by
701     fragmenting an element declaration between two parameter entities.</TEST>
702 <TEST TYPE="invalid" ENTITIES="both" ID="invalid--006"
703         URI="invalid/006.xml" SECTIONS="2.8">
704     Tests the "Proper Declaration/PE Nesting" validity constraint by
705     fragmenting an element declaration between two parameter entities.</TEST>
706 <TEST TYPE="invalid" ENTITIES="both" ID="invalid-not-sa-022"
707         URI="invalid/not-sa/022.xml" SECTIONS="3.4 [62]"
708         OUTPUT="invalid/not-sa/out/022.xml">
709     Test the "Proper Conditional Section/ PE Nesting" validity constraint. </TEST>
710
711 <!-- Start:  valid/sa -->
712 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-001"
713         URI="valid/sa/001.xml" SECTIONS="3.2.2 [51]"
714         OUTPUT="valid/sa/out/001.xml">
715     Test demonstrates an Element Type Declaration with Mixed Content. </TEST>
716 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-002"
717         URI="valid/sa/002.xml" SECTIONS="3.1 [40]"
718         OUTPUT="valid/sa/out/002.xml">
719     Test demonstrates that whitespace is permitted after the tag name in a Start-tag. </TEST>
720 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-003"
721         URI="valid/sa/003.xml" SECTIONS="3.1 [42]"
722         OUTPUT="valid/sa/out/003.xml">
723     Test demonstrates that whitespace is permitted after the tag name in an End-tag.</TEST>
724 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-004"
725         URI="valid/sa/004.xml" SECTIONS="3.1 [41]"
726         OUTPUT="valid/sa/out/004.xml">
727     Test demonstrates a valid attribute specification within a Start-tag. </TEST>
728 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-005"
729         URI="valid/sa/005.xml" SECTIONS="3.1 [40]"
730         OUTPUT="valid/sa/out/005.xml">
731     Test demonstrates a valid attribute specification within a Start-tag that
732 contains whitespace on both sides of the equal sign. </TEST>
733 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-006"
734         URI="valid/sa/006.xml" SECTIONS="3.1 [41]"
735         OUTPUT="valid/sa/out/006.xml">
736     Test demonstrates that the AttValue within a Start-tag can use a single quote as a delimter. </TEST>
737 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-007"
738         URI="valid/sa/007.xml" SECTIONS="3.1 4.6 [43]"
739         OUTPUT="valid/sa/out/007.xml">
740     Test demonstrates numeric character references can be used for element content. </TEST>
741 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-008"
742         URI="valid/sa/008.xml" SECTIONS="2.4 3.1 [43]"
743         OUTPUT="valid/sa/out/008.xml">
744     Test demonstrates character references can be used for element content. </TEST>
745 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-009"
746         URI="valid/sa/009.xml" SECTIONS="2.3 3.1 [43]"
747         OUTPUT="valid/sa/out/009.xml">
748     Test demonstrates that PubidChar can be used for element content. </TEST>
749 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-010"
750         URI="valid/sa/010.xml" SECTIONS="3.1 [40]"
751         OUTPUT="valid/sa/out/010.xml">
752     Test demonstrates that whitespace is valid after the Attribute in a Start-tag. </TEST>
753 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-011"
754         URI="valid/sa/011.xml" SECTIONS="3.1 [40]"
755         OUTPUT="valid/sa/out/011.xml">
756     Test demonstrates mutliple Attibutes within the Start-tag. </TEST>
757 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-012"
758         URI="valid/sa/012.xml" SECTIONS="2.3 [4]"
759         OUTPUT="valid/sa/out/012.xml" NAMESPACE="no">
760     Uses a legal XML 1.0 name consisting of a single colon
761     character (disallowed by the latest XML Namespaces draft).</TEST>
762 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-013"
763         URI="valid/sa/013.xml" SECTIONS="2.3 3.1 [13] [40]"
764         OUTPUT="valid/sa/out/013.xml">
765     Test demonstrates that the Attribute in a Start-tag can consist of numerals along with special characters. </TEST>
766 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-014"
767         URI="valid/sa/014.xml" SECTIONS="2.3 3.1 [13] [40]"
768         OUTPUT="valid/sa/out/014.xml">
769     Test demonstrates that all lower case letters are valid for the Attribute in a Start-tag. </TEST>
770 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-015"
771         URI="valid/sa/015.xml" SECTIONS="2.3 3.1 [13] [40]"
772         OUTPUT="valid/sa/out/015.xml">
773     Test demonstrates that all upper case letters are valid for the Attribute in a Start-tag. </TEST>
774 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-016"
775         URI="valid/sa/016.xml" SECTIONS="2.6 3.1 [16] [43]"
776         OUTPUT="valid/sa/out/016.xml">
777     Test demonstrates that Processing Instructions are valid element content. </TEST>
778 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-017"
779         URI="valid/sa/017.xml" SECTIONS="2.6 3.1 [16] [43]"
780         OUTPUT="valid/sa/out/017.xml">
781     Test demonstrates that Processing Instructions are valid element content and there can be more than one. </TEST>
782 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-018"
783         URI="valid/sa/018.xml" SECTIONS="2.7 3.1 [18] [43]"
784         OUTPUT="valid/sa/out/018.xml">
785     Test demonstrates that CDATA sections are valid element content. </TEST>
786 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-019"
787         URI="valid/sa/019.xml" SECTIONS="2.7 3.1 [18] [43]"
788         OUTPUT="valid/sa/out/019.xml">
789     Test demonstrates that CDATA sections are valid element content and that
790 ampersands may occur in their literal form. </TEST>
791 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-020"
792         URI="valid/sa/020.xml" SECTIONS="2.7 3.1 [18] [43]"
793         OUTPUT="valid/sa/out/020.xml">
794    Test demonstractes that CDATA sections are valid element content and that
795 everyting between the CDStart and CDEnd is recognized as character data not markup.  </TEST>
796 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-021"
797         URI="valid/sa/021.xml" SECTIONS="2.5 3.1 [15] [43]"
798         OUTPUT="valid/sa/out/021.xml">
799     Test demonstrates that comments are valid element content. </TEST>
800 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-022"
801         URI="valid/sa/022.xml" SECTIONS="2.5 3.1 [15] [43]"
802         OUTPUT="valid/sa/out/022.xml">
803     Test demonstrates that comments are valid element content and that all characters before the double-hypen right angle combination are considered part of thecomment. </TEST>
804 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-023"
805         URI="valid/sa/023.xml" SECTIONS="3.1 [43]"
806         OUTPUT="valid/sa/out/023.xml">
807     Test demonstrates that Entity References are valid element content. </TEST>
808 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-024"
809         URI="valid/sa/024.xml" SECTIONS="3.1 4.1 [43] [66]"
810         OUTPUT="valid/sa/out/024.xml">
811     Test demonstrates that Entity References are valid element content and also demonstrates a valid Entity Declaration. </TEST>
812 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-025"
813         URI="valid/sa/025.xml" SECTIONS="3.2 [46]"
814         OUTPUT="valid/sa/out/025.xml">
815     Test demonstrates an Element Type Declaration and that the contentspec can be of mixed content. </TEST>
816 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-026"
817         URI="valid/sa/026.xml" SECTIONS="3.2 [46]"
818         OUTPUT="valid/sa/out/026.xml">
819     Test demonstrates an Element Type Declaration and that EMPTY is a valid contentspec. </TEST>
820 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-027"
821         URI="valid/sa/027.xml" SECTIONS="3.2 [46]"
822         OUTPUT="valid/sa/out/027.xml">
823     Test demonstrates an Element Type Declaration and that ANY is a valid contenspec. </TEST>
824 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-028"
825         URI="valid/sa/028.xml" SECTIONS="2.8 [24]"
826         OUTPUT="valid/sa/out/028.xml">
827     Test demonstrates a valid prolog that uses double quotes as delimeters around the VersionNum. </TEST>
828 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-029"
829         URI="valid/sa/029.xml" SECTIONS="2.8 [24]"
830         OUTPUT="valid/sa/out/029.xml">
831     Test demonstrates a valid prolog that uses single quotes as delimters around the VersionNum. </TEST>
832 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-030"
833         URI="valid/sa/030.xml" SECTIONS="2.8 [25]"
834         OUTPUT="valid/sa/out/030.xml">
835     Test demonstrates a valid prolog that contains whitespace on both sides of the equal sign in the VersionInfo. </TEST>
836 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-031"
837         URI="valid/sa/031.xml" SECTIONS="4.3.3 [80]"
838         OUTPUT="valid/sa/out/031.xml">
839     Test demonstrates a valid EncodingDecl within the prolog. </TEST>
840 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-032"
841         URI="valid/sa/032.xml" SECTIONS="2.9 [32]"
842         OUTPUT="valid/sa/out/032.xml">
843     Test demonstrates a valid SDDecl within the prolog. </TEST>
844 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-033"
845         URI="valid/sa/033.xml" SECTIONS="2.8 [23]"
846         OUTPUT="valid/sa/out/033.xml">
847     Test demonstrates that both a EncodingDecl and SDDecl are valid within the prolog. </TEST>
848 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-034"
849         URI="valid/sa/034.xml" SECTIONS="3.1 [44]"
850         OUTPUT="valid/sa/out/034.xml">
851     Test demonstrates the correct syntax for an Empty element tag. </TEST>
852 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-035"
853         URI="valid/sa/035.xml" SECTIONS="3.1 [44]"
854         OUTPUT="valid/sa/out/035.xml">
855     Test demonstrates that whitespace is permissible after the name in an Empty element tag. </TEST>
856 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-036"
857         URI="valid/sa/036.xml" SECTIONS="2.6 [16]"
858         OUTPUT="valid/sa/out/036.xml">
859     Test demonstrates a valid processing instruction. </TEST>
860 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-037"
861         URI="valid/sa/037.xml" SECTIONS="2.6 [15]"
862         OUTPUT="valid/sa/out/037.xml">
863     Test demonstrates a valid comment and that it may appear anywhere in the document including at the end. </TEST>
864 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-038"
865         URI="valid/sa/038.xml" SECTIONS="2.6 [15]"
866         OUTPUT="valid/sa/out/038.xml">
867     Test demonstrates a valid comment and that it may appear anywhere in the document including the beginning. </TEST>
868 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-039"
869         URI="valid/sa/039.xml" SECTIONS="2.6 [16]"
870         OUTPUT="valid/sa/out/039.xml">
871     Test demonstrates a valid processing instruction and that it may appear at the beginning of the document. </TEST>
872 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-040"
873         URI="valid/sa/040.xml" SECTIONS="3.3 3.3.1 [52] [54]"
874         OUTPUT="valid/sa/out/040.xml">
875     Test demonstrates an Attribute List declaration that uses a StringType as the AttType. </TEST>
876 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-041"
877         URI="valid/sa/041.xml" SECTIONS="3.3.1 4.1 [54] [66]"
878         OUTPUT="valid/sa/out/041.xml">
879     Test demonstrates an Attribute List declaration that uses a StringType as the AttType and also expands the CDATA attribute with a character reference. </TEST>
880 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-042"
881         URI="valid/sa/042.xml" SECTIONS="3.3.1 4.1 [54] [66]"
882         OUTPUT="valid/sa/out/042.xml">
883     Test demonstrates an Attribute List declaration that uses a StringType as the AttType and also expands the CDATA attribute with a character reference.  The test also shows that the leading zeros in the character reference are ignored. </TEST>
884 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-043"
885         URI="valid/sa/043.xml" SECTIONS="3.3"
886         OUTPUT="valid/sa/out/043.xml">
887     An element's attributes may be declared before its content
888     model; and attribute values may contain newlines.  </TEST>
889 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-044"
890         URI="valid/sa/044.xml" SECTIONS="3.1 [44]"
891         OUTPUT="valid/sa/out/044.xml">
892     Test demonstrates that the empty-element tag must be use for an elements that are declared EMPTY. </TEST>
893 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-045"
894         URI="valid/sa/045.xml" SECTIONS="3.3 [52]"
895         OUTPUT="valid/sa/out/045.xml">
896     Tests whether more than one definition can be provided for the same attribute of a given element type with the first declaration being binding. </TEST>
897 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-046"
898         URI="valid/sa/046.xml" SECTIONS="3.3 [52]"
899         OUTPUT="valid/sa/out/046.xml">
900     Test demonstrates that when more than one AttlistDecl is provided for a given element type, the contents of all those provided are merged. </TEST>
901 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-047"
902         URI="valid/sa/047.xml" SECTIONS="3.1 [43]"
903         OUTPUT="valid/sa/out/047.xml">
904     Test demonstrates that extra whitespace is normalized into single space character. </TEST>
905 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-048"
906         URI="valid/sa/048.xml" SECTIONS="2.4 3.1 [14] [43]"
907         OUTPUT="valid/sa/out/048.xml">
908     Test demonstrates that character data is valid element content. </TEST>
909 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-049"
910         URI="valid/sa/049.xml" SECTIONS="2.2 [2]"
911         OUTPUT="valid/sa/out/049.xml">
912     Test demonstrates that characters outside of normal ascii range can be used as element content. </TEST>
913 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-050"
914         URI="valid/sa/050.xml" SECTIONS="2.2 [2]"
915         OUTPUT="valid/sa/out/050.xml">
916     Test demonstrates that characters outside of normal ascii range can be used as element content. </TEST>
917 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-051"
918         URI="valid/sa/051.xml" SECTIONS="2.2 [2]"
919         OUTPUT="valid/sa/out/051.xml">
920     The document is encoded in UTF-16 and uses some name
921     characters well outside of the normal ASCII range.
922     </TEST>
923 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-052"
924         URI="valid/sa/052.xml" SECTIONS="2.2 [2]"
925         OUTPUT="valid/sa/out/052.xml">
926     The document is encoded in UTF-8 and the text inside the
927     root element uses two non-ASCII characters, encoded in UTF-8
928     and each of which expands to a Unicode surrogate pair.</TEST>
929 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-053"
930         URI="valid/sa/053.xml" SECTIONS="4.4.2"
931         OUTPUT="valid/sa/out/053.xml">
932     Tests inclusion of a well-formed internal entity, which
933     holds an element required by the content model.</TEST>
934 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-054"
935         URI="valid/sa/054.xml" SECTIONS="3.1 [40] [42]"
936         OUTPUT="valid/sa/out/054.xml">
937     Test demonstrates that extra whitespace within Start-tags and End-tags are nomalized into single spaces. </TEST>
938 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-055"
939         URI="valid/sa/055.xml" SECTIONS="2.6 2.10 [16]"
940         OUTPUT="valid/sa/out/055.xml">
941     Test demonstrates that extra whitespace within a processing instruction willnormalized into s single space character. </TEST>
942 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-056"
943         URI="valid/sa/056.xml" SECTIONS="3.3.1 4.1 [54] [66]"
944         OUTPUT="valid/sa/out/056.xml">
945     Test demonstrates an Attribute List declaration that uses a StringType as the AttType and also expands the CDATA attribute with a character reference.  The test also shows that the leading zeros in the character reference are ignored. </TEST>
946 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-057"
947         URI="valid/sa/057.xml" SECTIONS="3.2.1 [47]"
948         OUTPUT="valid/sa/out/057.xml">
949     Test demonstrates an element content model whose element can occur zero or more times. </TEST>
950 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-058"
951         URI="valid/sa/058.xml" SECTIONS="3.3.3"
952         OUTPUT="valid/sa/out/058.xml">
953     Test demonstrates that extra whitespace be normalized into a single space character in an attribute of type NMTOKENS. </TEST>
954 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-059"
955         URI="valid/sa/059.xml" SECTIONS="3.2 3.3 [46] [53]"
956         OUTPUT="valid/sa/out/059.xml">
957     Test demonstrates an Element Type Declaration that uses the contentspec of EMPTY.  The element cannot have any contents and must always appear as an empty element in the document.  The test also shows an Attribute-list declaration with multiple AttDef's. </TEST>
958 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-060"
959         URI="valid/sa/060.xml" SECTIONS="4.1 [66]"
960         OUTPUT="valid/sa/out/060.xml">
961     Test demonstrates the use of decimal Character References within element content. </TEST>
962 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-061"
963         URI="valid/sa/061.xml" SECTIONS="4.1 [66]"
964         OUTPUT="valid/sa/out/061.xml">
965     Test demonstrates the use of decimal Character References within element content. </TEST>
966 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-062"
967         URI="valid/sa/062.xml" SECTIONS="4.1 [66]"
968         OUTPUT="valid/sa/out/062.xml">
969     Test demonstrates the use of hexadecimal Character References within element.  </TEST>
970 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-063"
971         URI="valid/sa/063.xml" SECTIONS="2.3 [5]"
972         OUTPUT="valid/sa/out/063.xml">
973     The document is encoded in UTF-8 and the name of the
974     root element type uses non-ASCII characters.  </TEST>
975 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-064"
976         URI="valid/sa/064.xml" SECTIONS="4.1 [66]"
977         OUTPUT="valid/sa/out/064.xml">
978     Tests in-line handling of two legal character references, which
979     each expand to a Unicode surrogate pair.</TEST>
980 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-065"
981         URI="valid/sa/065.xml" SECTIONS="4.5"
982         OUTPUT="valid/sa/out/065.xml">
983     Tests ability to define an internal entity which can't
984     legally be expanded (contains an unquoted <B>&lt;</B>).</TEST>
985 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-066"
986         URI="valid/sa/066.xml" SECTIONS="4.1 [66]"
987         OUTPUT="valid/sa/out/066.xml">
988     Expands a CDATA attribute with a character reference.</TEST>
989 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-067"
990         URI="valid/sa/067.xml" SECTIONS="4.1 [66]"
991         OUTPUT="valid/sa/out/067.xml">
992     Test demonstrates the use of decimal character references within element content. </TEST>
993 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-068"
994         URI="valid/sa/068.xml" SECTIONS="2.11, 4.5"
995         OUTPUT="valid/sa/out/068.xml">
996     Tests definition of an internal entity holding a carriage return character
997     reference, which must not be normalized before reporting to the application.  Line 
998     break normalization only occurs when parsing external parsed entities.</TEST>
999 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-069"
1000         URI="valid/sa/069.xml" SECTIONS="4.7"
1001         OUTPUT="valid/sa/out/069.xml">
1002     Verifies that an XML parser will parse a NOTATION
1003     declaration; the output phase of this test ensures that
1004     it's reported to the application. </TEST>
1005 <TEST TYPE="valid" ENTITIES="parameter" ID="valid-sa-070"
1006         URI="valid/sa/070.xml" SECTIONS="4.4.8"
1007         OUTPUT="valid/sa/out/070.xml">
1008     Verifies that internal parameter entities are correctly
1009     expanded within the internal subset.</TEST>
1010 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-071"
1011         URI="valid/sa/071.xml" SECTIONS="3.3 3.3.1 [52] [56]"
1012         OUTPUT="valid/sa/out/071.xml">
1013     Test demonstrates that an AttlistDecl can use ID as the TokenizedType within the Attribute type.  The test also shows that IMPLIED is a valid DefaultDecl. </TEST>
1014 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-072"
1015         URI="valid/sa/072.xml" SECTIONS="3.3 3.3.1 [52] [56]"
1016         OUTPUT="valid/sa/out/072.xml">
1017     Test demonstrates that an AttlistDecl can use IDREF as the TokenizedType within the Attribute type.  The test also shows that IMPLIED is a valid DefaultDecl. </TEST>
1018 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-073"
1019         URI="valid/sa/073.xml" SECTIONS="3.3 3.3.1 [52] [56]"
1020         OUTPUT="valid/sa/out/073.xml">
1021     Test demonstrates that an AttlistDecl can use IDREFS as the TokenizedType within the Attribute type.  The test also shows that IMPLIED is a valid DefaultDecl. </TEST>
1022 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-074"
1023         URI="valid/sa/074.xml" SECTIONS="3.3 3.3.1 [52] [56]"
1024         OUTPUT="valid/sa/out/074.xml">
1025     Test demonstrates that an AttlistDecl can use ENTITY as the TokenizedType within the Attribute type.  The test also shows that IMPLIED is a valid DefaultDecl. </TEST>
1026 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-075"
1027         URI="valid/sa/075.xml" SECTIONS="3.3 3.3.1 [52] [56]"
1028         OUTPUT="valid/sa/out/075.xml">
1029     Test demonstrates that an AttlistDecl can use ENTITIES as the TokenizedType within the Attribute type.  The test also shows that IMPLIED is a valid DefaultDecl. </TEST>
1030 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-076"
1031         URI="valid/sa/076.xml" SECTIONS="3.3.1"
1032         OUTPUT="valid/sa/out/076.xml">
1033     Verifies that an XML parser will parse a NOTATION
1034     attribute; the output phase of this test ensures that
1035     both notations are reported to the application. </TEST>
1036 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-077"
1037         URI="valid/sa/077.xml" SECTIONS="3.3 3.3.1 [52] [54]"
1038         OUTPUT="valid/sa/out/077.xml">
1039     Test demonstrates that an AttlistDecl can use an EnumeratedType within the Attribute type.  The test also shows that IMPLIED is a valid DefaultDecl. </TEST>
1040 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-078"
1041         URI="valid/sa/078.xml" SECTIONS="3.3 3.3.1 [52] [54]"
1042         OUTPUT="valid/sa/out/078.xml">
1043     Test demonstrates that an AttlistDecl can use an StringType of CDATA within the Attribute type.  The test also shows that REQUIRED is a valid DefaultDecl. </TEST>
1044 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-079"
1045         URI="valid/sa/079.xml" SECTIONS="3.3 3.3.2 [52] [60]"
1046         OUTPUT="valid/sa/out/079.xml">
1047     Test demonstrates that an AttlistDecl can use an StringType of CDATA within the Attribute type.  The test also shows that FIXED is a valid DefaultDecl and that a value can be given to the attribute in the Start-tag as well as the AttListDecl. </TEST>
1048 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-080"
1049         URI="valid/sa/080.xml" SECTIONS="3.3 3.3.2 [52] [60]"
1050         OUTPUT="valid/sa/out/080.xml">
1051     Test demonstrates that an AttlistDecl can use an StringType of CDATA within the Attribute type.  The test also shows that FIXED is a valid DefaultDecl and that an value can be given to the attribute. </TEST>
1052 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-081"
1053         URI="valid/sa/081.xml" SECTIONS="3.2.1 [50]"
1054         OUTPUT="valid/sa/out/081.xml">
1055     Test demonstrates the use of the optional character following a name or list  to govern the number of times an element or content particles in the list occur. </TEST>
1056 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-082"
1057         URI="valid/sa/082.xml" SECTIONS="4.2 [72]"
1058         OUTPUT="valid/sa/out/082.xml">
1059     Tests that an external PE may be defined (but not referenced).</TEST>
1060 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-083"
1061         URI="valid/sa/083.xml" SECTIONS="4.2 [72]"
1062         OUTPUT="valid/sa/out/083.xml">
1063     Tests that an external PE may be defined (but not referenced).</TEST>
1064 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-084"
1065         URI="valid/sa/084.xml" SECTIONS="2.10"
1066         OUTPUT="valid/sa/out/084.xml">
1067     Test demonstrates that although whitespace can be used to set apart markup for greater readability it is not necessary. </TEST>
1068 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-085"
1069         URI="valid/sa/085.xml" SECTIONS="4"
1070         OUTPUT="valid/sa/out/085.xml">
1071     Parameter and General entities use different namespaces,
1072     so there can be an entity of each type with a given name.</TEST>
1073 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-086"
1074         URI="valid/sa/086.xml" SECTIONS="4.2"
1075         OUTPUT="valid/sa/out/086.xml">
1076     Tests whether entities may be declared more than once,
1077     with the first declaration being the binding one. </TEST>
1078 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-087"
1079         URI="valid/sa/087.xml" SECTIONS="4.5"
1080         OUTPUT="valid/sa/out/087.xml">
1081     Tests whether character references in internal entities are
1082     expanded early enough, by relying on correct handling to
1083     make the entity be well formed.</TEST>
1084 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-088"
1085         URI="valid/sa/088.xml" SECTIONS="4.5"
1086         OUTPUT="valid/sa/out/088.xml">
1087     Tests whether entity references in internal entities are
1088     expanded late enough, by relying on correct handling to
1089     make the expanded text be valid.  (If it's expanded too
1090     early, the entity will parse as an element that's not
1091     valid in that context.)</TEST>
1092 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-089"
1093         URI="valid/sa/089.xml" SECTIONS="4.1 [66]"
1094         OUTPUT="valid/sa/out/089.xml">
1095     Tests entity expansion of three legal character references,
1096     which each expand to a Unicode surrogate pair.</TEST>
1097 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-090"
1098         URI="valid/sa/090.xml" SECTIONS="3.3.1"
1099         OUTPUT="valid/sa/out/090.xml">
1100     Verifies that an XML parser will parse a NOTATION
1101     attribute; the output phase of this test ensures that
1102     the notation is reported to the application. </TEST>
1103 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-091"
1104         URI="valid/sa/091.xml" SECTIONS="3.3.1"
1105         OUTPUT="valid/sa/out/091.xml">
1106     Verifies that an XML parser will parse an ENTITY
1107     attribute; the output phase of this test ensures that
1108     the notation is reported to the application, and for
1109     validating parsers it further tests that the entity
1110     is so reported.</TEST>
1111 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-092"
1112         URI="valid/sa/092.xml" SECTIONS="2.3 2.10"
1113         OUTPUT="valid/sa/out/092.xml">
1114     Test demostrates that extra whitespace is normalized into a single space character. </TEST>
1115 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-093"
1116         URI="valid/sa/093.xml" SECTIONS="2.10"
1117         OUTPUT="valid/sa/out/093.xml">
1118     Test demonstrates that extra whitespace is not intended for inclusion in the delivered version of the document. </TEST>
1119 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-094"
1120         OUTPUT="valid/sa/out/094.xml"
1121         URI="valid/sa/094.xml" SECTIONS="2.8">
1122     Attribute defaults with a DTD have special parsing rules, different
1123     from other strings.  That means that characters found there may look
1124     like an undefined parameter entity reference "within a markup
1125     declaration", but they aren't ... so they can't be violating
1126     the <EM>PEs in Internal Subset</EM> WFC. 
1127     </TEST>
1128 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-095"
1129         URI="valid/sa/095.xml" SECTIONS="3.3.3"
1130         OUTPUT="valid/sa/out/095.xml">
1131     Basically an output test, this requires extra whitespace
1132     to be normalized into a single space character in an
1133     attribute of type NMTOKENS.</TEST>
1134 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-096"
1135         URI="valid/sa/096.xml" SECTIONS="3.3.3"
1136         OUTPUT="valid/sa/out/096.xml">
1137     Test demonstrates that extra whitespace is normalized into a single space character in an attribute of type NMTOKENS. </TEST>
1138 <TEST TYPE="valid" ENTITIES="parameter" ID="valid-sa-097"
1139         URI="valid/sa/097.xml" SECTIONS="3.3"
1140         OUTPUT="valid/sa/out/097.xml">
1141     Basically an output test, this tests whether an externally
1142     defined attribute declaration (with a default) takes proper
1143     precedence over a subsequent internal declaration.</TEST>
1144 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-098"
1145         URI="valid/sa/098.xml" SECTIONS="2.6 2.10 [16]"
1146         OUTPUT="valid/sa/out/098.xml">
1147     Test demonstrates that extra whitespace within a processing instruction is converted into a single space character.</TEST>
1148 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-099"
1149         URI="valid/sa/099.xml" SECTIONS="4.3.3 [81]"
1150         OUTPUT="valid/sa/out/099.xml">
1151     Test demonstrates the name of the encoding can be composed of lowercase characters. </TEST>
1152 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-100"
1153         URI="valid/sa/100.xml" SECTIONS="2.3 [12]"
1154         OUTPUT="valid/sa/out/100.xml">
1155     Makes sure that PUBLIC identifiers may have some strange
1156     characters.  <EM>NOTE:  The XML editors have said that the XML
1157     specification errata will specify that parameter entity expansion
1158     does not occur in PUBLIC identifiers, so that the '%' character
1159     will not flag a malformed parameter entity reference.</EM></TEST> 
1160 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-101"
1161         URI="valid/sa/101.xml" SECTIONS="4.5"
1162         OUTPUT="valid/sa/out/101.xml">
1163     This tests whether entity expansion is (incorrectly) done
1164     while processing entity declarations; if it is, the entity
1165     value literal will terminate prematurely.</TEST>
1166 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-102"
1167         URI="valid/sa/102.xml" SECTIONS="3.3.3"
1168         OUTPUT="valid/sa/out/102.xml">
1169     Test demonstrates that a CDATA attribute can pass a double quote as its value. </TEST>
1170 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-103"
1171         URI="valid/sa/103.xml" SECTIONS="3.3.3"
1172         OUTPUT="valid/sa/out/103.xml">
1173     Test demonstrates that an attribute can pass a less than sign as its value. </TEST>
1174 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-104"
1175         URI="valid/sa/104.xml" SECTIONS="3.1 [40]"
1176         OUTPUT="valid/sa/out/104.xml">
1177     Test demonstrates that extra whitespace within an Attribute of a Start-tag is normalized to a single space character. </TEST>
1178 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-105"
1179         URI="valid/sa/105.xml" SECTIONS="3.3.3"
1180         OUTPUT="valid/sa/out/105.xml">
1181     Basically an output test, this requires a CDATA attribute
1182     with a tab character to be passed through as one space.</TEST>
1183 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-106"
1184         URI="valid/sa/106.xml" SECTIONS="3.3.3"
1185         OUTPUT="valid/sa/out/106.xml">
1186     Basically an output test, this requires a CDATA attribute
1187     with a newline character to be passed through as one space.</TEST>
1188 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-107"
1189         URI="valid/sa/107.xml" SECTIONS="3.3.3"
1190         OUTPUT="valid/sa/out/107.xml">
1191     Basically an output test, this requires a CDATA attribute
1192     with a return character to be passed through as one space.</TEST>
1193 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-108"
1194         URI="valid/sa/108.xml" SECTIONS="2.11, 3.3.3"
1195         OUTPUT="valid/sa/out/108.xml">
1196     This tests normalization of end-of-line characters (CRLF)
1197     within entities to LF, primarily as an output test. </TEST>
1198 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-109"
1199         URI="valid/sa/109.xml" SECTIONS="2.3 3.1 [10][40][41]"
1200         OUTPUT="valid/sa/out/109.xml">
1201     Test demonstrates that an attribute can have a null value. </TEST>
1202 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-110"
1203         URI="valid/sa/110.xml" SECTIONS="3.3.3"
1204         OUTPUT="valid/sa/out/110.xml">
1205     Basically an output test, this requires that a CDATA
1206     attribute with a CRLF be normalized to one space.</TEST>
1207 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-111"
1208         URI="valid/sa/111.xml" SECTIONS="3.3.3"
1209         OUTPUT="valid/sa/out/111.xml">
1210     Character references expanding to spaces doesn't affect
1211     treatment of attributes. </TEST>
1212 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-112"
1213         URI="valid/sa/112.xml" SECTIONS="3.2.1 [48][49]"
1214         OUTPUT="valid/sa/out/112.xml">
1215     Test demonstrates shows the use of content particles within the element content. </TEST>
1216 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-113"
1217         URI="valid/sa/113.xml" SECTIONS="3.3 [52][53]"
1218         OUTPUT="valid/sa/out/113.xml">
1219      Test demonstrates that it is not an error to have attributes declared for an element not itself declared.</TEST>
1220 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-114"
1221         URI="valid/sa/114.xml" SECTIONS="2.7 [20]"
1222         OUTPUT="valid/sa/out/114.xml">
1223     Test demonstrates that all text within a valid CDATA section is considered text and not recognized as markup. </TEST>
1224 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-115"
1225         URI="valid/sa/115.xml" SECTIONS="3.3.3"
1226         OUTPUT="valid/sa/out/115.xml">
1227     Test demonstrates that an entity reference is processed by recursively processing the replacement text of the entity. </TEST>
1228 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-116"
1229         URI="valid/sa/116.xml" SECTIONS="2.11"
1230         OUTPUT="valid/sa/out/116.xml">
1231     Test demonstrates that a line break within CDATA will be normalized. </TEST>
1232 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-117"
1233         URI="valid/sa/117.xml" SECTIONS="4.5"
1234         OUTPUT="valid/sa/out/117.xml">
1235     Test demonstrates that entity expansion is done while processing entity declarations.  </TEST>
1236 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-118"
1237         URI="valid/sa/118.xml" SECTIONS="4.5"
1238         OUTPUT="valid/sa/out/118.xml">
1239     Test demonstrates that entity expansion is done while processing entity declarations. </TEST>
1240 <TEST TYPE="valid" ENTITIES="none" ID="valid-sa-119"
1241         URI="valid/sa/119.xml" SECTIONS="2.5"
1242         OUTPUT="valid/sa/out/119.xml">
1243     Comments may contain any legal XML characters;
1244     only the string "--" is disallowed.</TEST>
1245
1246
1247 <!-- Start:  valid/not-sa -->
1248 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-001"
1249         URI="valid/not-sa/001.xml" SECTIONS="4.2.2 [75]"
1250         OUTPUT="valid/not-sa/out/001.xml">
1251     Test demonstrates the use of an ExternalID within a document type definition. </TEST>
1252 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-002"
1253         URI="valid/not-sa/002.xml" SECTIONS="4.2.2 [75]"
1254         OUTPUT="valid/not-sa/out/002.xml">
1255     Test demonstrates the use of an ExternalID within a document type definition. </TEST>
1256 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-003"
1257         URI="valid/not-sa/003.xml" SECTIONS="4.1 [69]"
1258         OUTPUT="valid/not-sa/out/003.xml">
1259     Test demonstrates the expansion of an external parameter entity that declares an attribute. </TEST>
1260 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-004"
1261         URI="valid/not-sa/004.xml" SECTIONS="4.1 [69]"
1262         OUTPUT="valid/not-sa/out/004.xml">
1263     Expands an external parameter entity in two different ways,
1264     with one of them declaring an attribute.</TEST>
1265 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-005"
1266         URI="valid/not-sa/005.xml" SECTIONS="4.1 [69]"
1267         OUTPUT="valid/not-sa/out/005.xml">
1268     Test demonstrates the expansion of an external parameter entity that declares an attribute. </TEST>
1269 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-006"
1270         URI="valid/not-sa/006.xml" SECTIONS="3.3 [52]"
1271         OUTPUT="valid/not-sa/out/006.xml">
1272     Test demonstrates that when more than one definition is provided for the same attribute of a given element type only the first declaration is binding. </TEST>
1273 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-007"
1274         URI="valid/not-sa/007.xml" SECTIONS="3.3 [52]"
1275         OUTPUT="valid/not-sa/out/007.xml">
1276     Test demonstrates the use of an Attribute list declaration within an external entity. </TEST>
1277 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-008"
1278         URI="valid/not-sa/008.xml" SECTIONS="4.2.2 [75]"
1279         OUTPUT="valid/not-sa/out/008.xml">
1280     Test demonstrates that an external identifier may include a public identifier. </TEST>
1281 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-009"
1282         URI="valid/not-sa/009.xml" SECTIONS="4.2.2 [75]"
1283         OUTPUT="valid/not-sa/out/009.xml">
1284     Test demonstrates that an external identifier may include a public identifier. </TEST>
1285 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-010"
1286         URI="valid/not-sa/010.xml" SECTIONS="3.3 [52]"
1287         OUTPUT="valid/not-sa/out/010.xml">
1288     Test demonstrates that when more that one definition is provided for the same attribute of a given element type only the first declaration is binding. </TEST>
1289 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-011"
1290         URI="valid/not-sa/011.xml" SECTIONS="4.2 4.2.1 [72] [75]"
1291         OUTPUT="valid/not-sa/out/011.xml">
1292     Test demonstrates a parameter entity declaration whose parameter entity definition is an ExternalID. </TEST>
1293 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-012"
1294         URI="valid/not-sa/012.xml" SECTIONS="4.3.1 [77]"
1295         OUTPUT="valid/not-sa/out/012.xml">
1296     Test demonstrates an enternal parsed entity that begins with a text declaration. </TEST>
1297 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-013"
1298         URI="valid/not-sa/013.xml" SECTIONS="3.4 [62]"
1299         OUTPUT="valid/not-sa/out/013.xml">
1300     Test demonstrates the use of the conditional section INCLUDE that will include its contents as part of the DTD. </TEST>
1301 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-014"
1302         URI="valid/not-sa/014.xml" SECTIONS="3.4 [62]"
1303         OUTPUT="valid/not-sa/out/014.xml">
1304     Test demonstrates the use of the conditional section INCLUDE that will include its contents as part of the DTD.  The keyword is a parameter-entity reference. </TEST>
1305 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-015"
1306         URI="valid/not-sa/015.xml" SECTIONS="3.4 [63]"
1307         OUTPUT="valid/not-sa/out/015.xml">
1308     Test demonstrates the use of the conditonal section IGNORE the will ignore its content from being part of the DTD.  The keyword is a parameter-entity reference. </TEST>
1309 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-016"
1310         URI="valid/not-sa/016.xml" SECTIONS="3.4 [62]"
1311         OUTPUT="valid/not-sa/out/016.xml">
1312     Test demonstrates the use of the conditional section INCLUDE that will include its contents as part of the DTD.  The keyword is a parameter-entity reference.</TEST>
1313 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-017"
1314         URI="valid/not-sa/017.xml" SECTIONS="4.2 [72]"
1315         OUTPUT="valid/not-sa/out/017.xml">
1316     Test demonstrates a parameter entity declaration that contains an attribute list declaration. </TEST>
1317 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-018"
1318         URI="valid/not-sa/018.xml" SECTIONS="4.2.2 [75]"
1319         OUTPUT="valid/not-sa/out/018.xml">
1320     Test demonstrates an EnternalID whose contents contain an parameter entity declaration and a attribute list definition. </TEST>
1321 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-019"
1322         URI="valid/not-sa/019.xml" SECTIONS="4.4.8"
1323         OUTPUT="valid/not-sa/out/019.xml">
1324     Test demonstrates that a parameter entity will be expanded with spaces on either side. </TEST>
1325 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-020"
1326         URI="valid/not-sa/020.xml" SECTIONS="4.4.8"
1327         OUTPUT="valid/not-sa/out/020.xml">
1328     Parameter entities expand with spaces on either side.</TEST>
1329 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-021"
1330         URI="valid/not-sa/021.xml" SECTIONS="4.2 [72]"
1331         OUTPUT="valid/not-sa/out/021.xml">
1332     Test demonstrates a parameter entity declaration that contains a partial attribute list declaration. </TEST>
1333 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-023"
1334         URI="valid/not-sa/023.xml" SECTIONS="2.3 4.1 [10] [69]"
1335         OUTPUT="valid/not-sa/out/023.xml">
1336     Test demonstrates the use of a parameter entity reference within an attribute list declaration.
1337 </TEST>
1338 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-024"
1339         URI="valid/not-sa/024.xml" SECTIONS="2.8, 4.1 [69]"
1340         OUTPUT="valid/not-sa/out/024.xml">
1341     Constructs an &lt;!ATTLIST...&gt; declaration from several PEs.</TEST>
1342 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-025"
1343         URI="valid/not-sa/025.xml" SECTIONS="4.2"
1344         OUTPUT="valid/not-sa/out/025.xml">
1345     Test demonstrates that when more that one definition is provided for the same entity only the first declaration is binding. </TEST>
1346 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-026"
1347         URI="valid/not-sa/026.xml" SECTIONS="3.3 [52]"
1348         OUTPUT="valid/not-sa/out/026.xml">
1349     Test demonstrates that when more that one definition is provided for the same attribute of a given element type only the first declaration is binding. </TEST>
1350 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-027"
1351         URI="valid/not-sa/027.xml" SECTIONS="4.1 [69]"
1352         OUTPUT="valid/not-sa/out/027.xml">
1353     Test demonstrates a parameter entity reference whose value is NULL. </TEST>
1354 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-028"
1355         URI="valid/not-sa/028.xml" SECTIONS="3.4 [62]"
1356         OUTPUT="valid/not-sa/out/028.xml">
1357     Test demonstrates the use of the conditional section INCLUDE that will include its contents. </TEST>
1358 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-029"
1359         URI="valid/not-sa/029.xml" SECTIONS="3.4 [62]"
1360         OUTPUT="valid/not-sa/out/029.xml">
1361     Test demonstrates the use of the conditonal section IGNORE the will ignore its content from being used. </TEST>
1362 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-030"
1363         URI="valid/not-sa/030.xml" SECTIONS="3.4 [62]"
1364         OUTPUT="valid/not-sa/out/030.xml">
1365     Test demonstrates the use of the conditonal section IGNORE the will ignore its content from being used. </TEST>
1366 <TEST TYPE="valid" ENTITIES="both" ID="valid-not-sa-031"
1367         URI="valid/not-sa/031.xml" SECTIONS="2.7"
1368         OUTPUT="valid/not-sa/out/031.xml">
1369     Expands a general entity which contains a CDATA section with
1370     what looks like a markup declaration (but is just text since
1371     it's in a CDATA section).</TEST>
1372
1373
1374 <!-- Start:  valid/ext-sa -->
1375 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-001"
1376         URI="valid/ext-sa/001.xml" SECTIONS="2.11"
1377         OUTPUT="valid/ext-sa/out/001.xml">
1378     A combination of carriage return line feed in an external entity must
1379     be normalized to a single newline. </TEST>
1380 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-002"
1381         URI="valid/ext-sa/002.xml" SECTIONS="2.11"
1382         OUTPUT="valid/ext-sa/out/002.xml">
1383     A carriage return (also CRLF) in an external entity must
1384     be normalized to a single newline. </TEST>
1385 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-003"
1386         URI="valid/ext-sa/003.xml" SECTIONS="3.1 4.1 [43] [68]"
1387         OUTPUT="valid/ext-sa/out/003.xml">
1388     Test demonstrates that the content of an element can be empty. In this case the external entity is an empty file. </TEST>
1389 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-004"
1390         URI="valid/ext-sa/004.xml" SECTIONS="2.11"
1391         OUTPUT="valid/ext-sa/out/004.xml">
1392     A carriage return (also CRLF) in an external entity must
1393     be normalized to a single newline. </TEST>
1394 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-005"
1395         URI="valid/ext-sa/005.xml" SECTIONS="3.2.1 4.2.2 [48] [75]"
1396         OUTPUT="valid/ext-sa/out/005.xml">
1397     Test demonstrates the use of optional character and content particles within an element content.  The test also show the use of external entity. </TEST>
1398 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-006"
1399         URI="valid/ext-sa/006.xml" SECTIONS="2.11 3.2.1 3.2.2 4.2.2 [48] [51] [75]"
1400         OUTPUT="valid/ext-sa/out/006.xml">
1401     Test demonstrates the use of optional character and content particles within mixed element content.  The test also shows the use of an external entity and that a carriage control line feed in an external entity must be normalized to a single newline. </TEST>
1402 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-007"
1403         URI="valid/ext-sa/007.xml" SECTIONS="4.2.2 4.4.3 [75]"
1404         OUTPUT="valid/ext-sa/out/007.xml">
1405     Test demonstrates the use of external entity and how replacement 
1406 text is retrieved and processed. </TEST>
1407 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-008"
1408         URI="valid/ext-sa/008.xml" SECTIONS="4.2.2 4.3.3. 4.4.3 [75] [80]"
1409         OUTPUT="valid/ext-sa/out/008.xml"> Test demonstrates the use of external 
1410 entity and how replacement text is retrieved and processed.  Also tests the use of an 
1411 EncodingDecl of UTF-16.</TEST>
1412 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-009"
1413         URI="valid/ext-sa/009.xml" SECTIONS="2.11"
1414         OUTPUT="valid/ext-sa/out/009.xml">
1415     A carriage return (also CRLF) in an external entity must
1416     be normalized to a single newline. </TEST>
1417 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-011"
1418         URI="valid/ext-sa/011.xml" SECTIONS="2.11 4.2.2 [75]"
1419         OUTPUT="valid/ext-sa/out/011.xml">
1420     Test demonstrates the use of a public identifier with and external entity.  
1421 The test also show that a carriage control line feed combination in an external 
1422 entity must be normalized to a single newline. </TEST>
1423 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-012"
1424         URI="valid/ext-sa/012.xml" SECTIONS="4.2.1 4.2.2"
1425         OUTPUT="valid/ext-sa/out/012.xml">
1426      Test demonstrates both internal and external entities and that processing of entity references may be required to produce the correct replacement text.</TEST>
1427 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-013"
1428         URI="valid/ext-sa/013.xml" SECTIONS="3.3.3"
1429         OUTPUT="valid/ext-sa/out/013.xml">
1430     Test demonstrates that whitespace is handled by adding a single whitespace to the normalized value in the attribute list. </TEST>
1431 <TEST TYPE="valid" ENTITIES="both" ID="valid-ext-sa-014"
1432         URI="valid/ext-sa/014.xml" SECTIONS="4.1 4.4.3 [68]"
1433         OUTPUT="valid/ext-sa/out/014.xml">
1434     Test demonstrates use of characters outside of normal ASCII range.</TEST>
1435 </TESTCASES>