/[suikacvs]/markup/html/whatpm/t/xml/attrs-2.dat
Suika

Contents of /markup/html/whatpm/t/xml/attrs-2.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Oct 20 04:21:19 2008 UTC (16 years ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
++ whatpm/t/ChangeLog	20 Oct 2008 04:21:10 -0000
2008-10-20  Wakaba  <wakaba@suika.fam.cx>

	* XML-Parser.t: "xml/attrs-2.dat" added.

++ whatpm/t/xml/ChangeLog	20 Oct 2008 04:17:22 -0000
	* attrs-2.dat: New test data file.

2008-10-20  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	20 Oct 2008 04:19:50 -0000
2008-10-20  Wakaba  <wakaba@suika.fam.cx>

	* NanoDOM.pm (specified, all_declarations_processed,
	manakai_attribute_type): New attributes.

++ whatpm/Whatpm/XML/ChangeLog	20 Oct 2008 04:20:35 -0000
2008-10-20  Wakaba  <wakaba@suika.fam.cx>

	* Parser.pm.src: Support for attribute type assignments, attribute
	value tokenization, and default value assignments.

1 #data
2 <!DOCTYPE a[
3 <!ATTLIST a
4 b CDATA "c"
5 >
6 ]>
7 <a/>
8 #errors
9 #document
10 | <!DOCTYPE a>
11 | <!ELEMENT a >
12 | b CDATA () EXPLICIT "c"
13 | <{} a>
14 | b="c"
15
16 #data
17 <!DOCTYPE a[
18 <!ATTLIST a
19 b CDATA "c"
20 d ENTITIES "e"
21 >
22 ]>
23 <a/>
24 #errors
25 #document
26 | <!DOCTYPE a>
27 | <!ELEMENT a >
28 | b CDATA () EXPLICIT "c"
29 | d ENTITIES () EXPLICIT "e"
30 | <{} a>
31 | b="c"
32 | d="e"
33
34 #data
35 <!DOCTYPE a[
36 <!ATTLIST a
37 b CDATA #FIXED "c"
38 >
39 ]>
40 <a/>
41 #errors
42 #document
43 | <!DOCTYPE a>
44 | <!ELEMENT a >
45 | b CDATA () FIXED "c"
46 | <{} a>
47 | b="c"
48
49 #data
50 <!DOCTYPE a[
51 <!ATTLIST a
52 b CDATA "c"
53 >
54 ]>
55 <a b="d"/>
56 #errors
57 #document
58 | <!DOCTYPE a>
59 | <!ELEMENT a >
60 | b CDATA () EXPLICIT "c"
61 | <{} a>
62 | b="d"
63
64 #data
65 <!DOCTYPE a[
66 <!ATTLIST a
67 xmlns CDATA "c"
68 >
69 ]>
70 <a/>
71 #errors
72 #document
73 | <!DOCTYPE a>
74 | <!ELEMENT a >
75 | xmlns CDATA () EXPLICIT "c"
76 | <{c} a>
77 | xmlns xmlns="c"
78
79 #data
80 <!DOCTYPE a[
81 <!ATTLIST a
82 xmlns:b CDATA "c"
83 >
84 ]>
85 <a b:e="f"/>
86 #errors
87 #document
88 | <!DOCTYPE a>
89 | <!ELEMENT a >
90 | xmlns:b CDATA () EXPLICIT "c"
91 | <{} a>
92 | xmlns b="c"
93 | {c} e="f"
94
95 #data
96 <!DOCTYPE a[
97 <!ATTLIST a
98 xmlns:b CDATA "c"
99 >
100 ]>
101 <a xmlns:b="d" b:e="f"/>
102 #errors
103 #document
104 | <!DOCTYPE a>
105 | <!ELEMENT a >
106 | xmlns:b CDATA () EXPLICIT "c"
107 | <{} a>
108 | xmlns b="d"
109 | {d} e="f"
110
111 #data
112 <!DOCTYPE a[
113 <!ATTLIST a
114 b:c CDATA "d"
115 xmlns:b CDATA "x"
116 >
117 ]>
118 <a e:c="f" xmlns:e="x"/>
119 #errors
120 #document
121 | <!DOCTYPE a>
122 | <!ELEMENT a >
123 | b:c CDATA () EXPLICIT "d"
124 | xmlns:b CDATA () EXPLICIT "x"
125 | <{} a>
126 | b:c="d"
127 | xmlns b="x"
128 | xmlns e="x"
129 | {x} c="f"
130
131 #data escaped
132 <!DOCTYPE a[
133 <!ATTLIST a
134 b CDATA " c\u0009d\u000a"
135 >
136 ]>
137 <a/>
138 #errors
139 #document
140 | <!DOCTYPE a>
141 | <!ELEMENT a >
142 | b CDATA () EXPLICIT " c d "
143 | <{} a>
144 | b=" c d "
145
146 #data escaped
147 <!DOCTYPE a[
148 <!ATTLIST a
149 b NMTOKEN " c \u0009d\u000a "
150 >
151 ]>
152 <a/>
153 #errors
154 #document
155 | <!DOCTYPE a>
156 | <!ELEMENT a >
157 | b NMTOKEN () EXPLICIT "c d"
158 | <{} a>
159 | b="c d"
160
161 #data
162 <!DOCTYPE a[
163 <!ATTLIST a
164 b IDREF "c &#x9;d &#xa; "
165 >
166 ]>
167 <a/>
168 #errors
169 #document escaped
170 | <!DOCTYPE a>
171 | <!ELEMENT a >
172 | b IDREF () EXPLICIT "c \u0009d \u000a"
173 | <{} a>
174 | b="c \u0009d \u000a"
175
176 #data escaped
177 <!DOCTYPE a[
178 <!ATTLIST a
179 b NMTOKENS #IMPLIED
180 >
181 ]>
182 <a b="c &#x9;d e\u000a"/>
183 #errors
184 #document escaped
185 | <!DOCTYPE a>
186 | <!ELEMENT a >
187 | b NMTOKENS () IMPLIED ""
188 | <{} a>
189 | b="c \u0009d e"
190
191 #data escaped
192 <!DOCTYPE a[
193 <!ATTLIST a
194 xmlns NMTOKEN " x y \u0009"
195 >
196 ]>
197 <a/>
198 #errors
199 #document
200 | <!DOCTYPE a>
201 | <!ELEMENT a >
202 | xmlns NMTOKEN () EXPLICIT "x y"
203 | <{x y} a>
204 | xmlns xmlns="x y"
205
206 #data
207 <!DOCTYPE a[
208 <!ATTLIST a
209 b CDATA "c"
210 >
211 ]>
212 <z><a/></z>
213 #errors
214 #document
215 | <!DOCTYPE a>
216 | <!ELEMENT a >
217 | b CDATA () EXPLICIT "c"
218 | <{} z>
219 | <{} a>
220 | b="c"
221
222 #data
223 <!DOCTYPE a[
224 <!ATTLIST a
225 b CDATA "c"
226 d ENTITIES "e"
227 >
228 ]>
229 <z><a/></z>
230 #errors
231 #document
232 | <!DOCTYPE a>
233 | <!ELEMENT a >
234 | b CDATA () EXPLICIT "c"
235 | d ENTITIES () EXPLICIT "e"
236 | <{} z>
237 | <{} a>
238 | b="c"
239 | d="e"
240
241 #data
242 <!DOCTYPE a[
243 <!ATTLIST a
244 b CDATA #FIXED "c"
245 >
246 ]>
247 <z><a/></z>
248 #errors
249 #document
250 | <!DOCTYPE a>
251 | <!ELEMENT a >
252 | b CDATA () FIXED "c"
253 | <{} z>
254 | <{} a>
255 | b="c"
256
257 #data
258 <!DOCTYPE a[
259 <!ATTLIST a
260 b CDATA "c"
261 >
262 ]>
263 <z><a b="d"/></z>
264 #errors
265 #document
266 | <!DOCTYPE a>
267 | <!ELEMENT a >
268 | b CDATA () EXPLICIT "c"
269 | <{} z>
270 | <{} a>
271 | b="d"
272
273 #data
274 <!DOCTYPE a[
275 <!ATTLIST a
276 xmlns CDATA "c"
277 >
278 ]>
279 <z><a/></z>
280 #errors
281 #document
282 | <!DOCTYPE a>
283 | <!ELEMENT a >
284 | xmlns CDATA () EXPLICIT "c"
285 | <{} z>
286 | <{c} a>
287 | xmlns xmlns="c"
288
289 #data
290 <!DOCTYPE a[
291 <!ATTLIST a
292 xmlns:b CDATA "c"
293 >
294 ]>
295 <z><a b:e="f"/></z>
296 #errors
297 #document
298 | <!DOCTYPE a>
299 | <!ELEMENT a >
300 | xmlns:b CDATA () EXPLICIT "c"
301 | <{} z>
302 | <{} a>
303 | xmlns b="c"
304 | {c} e="f"
305
306 #data
307 <!DOCTYPE a[
308 <!ATTLIST a
309 xmlns:b CDATA "c"
310 >
311 ]>
312 <z><a xmlns:b="d" b:e="f"/></z>
313 #errors
314 #document
315 | <!DOCTYPE a>
316 | <!ELEMENT a >
317 | xmlns:b CDATA () EXPLICIT "c"
318 | <{} z>
319 | <{} a>
320 | xmlns b="d"
321 | {d} e="f"
322
323 #data
324 <!DOCTYPE a[
325 <!ATTLIST a
326 b:c CDATA "d"
327 xmlns:b CDATA "x"
328 >
329 ]>
330 <z><a e:c="f" xmlns:e="x"/></z>
331 #errors
332 #document
333 | <!DOCTYPE a>
334 | <!ELEMENT a >
335 | b:c CDATA () EXPLICIT "d"
336 | xmlns:b CDATA () EXPLICIT "x"
337 | <{} z>
338 | <{} a>
339 | b:c="d"
340 | xmlns b="x"
341 | xmlns e="x"
342 | {x} c="f"
343
344 #data escaped
345 <!DOCTYPE a[
346 <!ATTLIST a
347 b CDATA " c\u0009d\u000a"
348 >
349 ]>
350 <z><a/></z>
351 #errors
352 #document
353 | <!DOCTYPE a>
354 | <!ELEMENT a >
355 | b CDATA () EXPLICIT " c d "
356 | <{} z>
357 | <{} a>
358 | b=" c d "
359
360 #data escaped
361 <!DOCTYPE a[
362 <!ATTLIST a
363 b NMTOKEN " c \u0009d\u000a "
364 >
365 ]>
366 <z><a/></z>
367 #errors
368 #document
369 | <!DOCTYPE a>
370 | <!ELEMENT a >
371 | b NMTOKEN () EXPLICIT "c d"
372 | <{} z>
373 | <{} a>
374 | b="c d"
375
376 #data
377 <!DOCTYPE a[
378 <!ATTLIST a
379 b IDREF "c &#x9;d &#xa; "
380 >
381 ]>
382 <z><a/></z>
383 #errors
384 #document escaped
385 | <!DOCTYPE a>
386 | <!ELEMENT a >
387 | b IDREF () EXPLICIT "c \u0009d \u000a"
388 | <{} z>
389 | <{} a>
390 | b="c \u0009d \u000a"
391
392 #data escaped
393 <!DOCTYPE a[
394 <!ATTLIST a
395 b NMTOKENS #IMPLIED
396 >
397 ]>
398 <z><a b="c &#x9;d e\u000a"/></z>
399 #errors
400 #document escaped
401 | <!DOCTYPE a>
402 | <!ELEMENT a >
403 | b NMTOKENS () IMPLIED ""
404 | <{} z>
405 | <{} a>
406 | b="c \u0009d e"
407
408 #data escaped
409 <!DOCTYPE a[
410 <!ATTLIST a
411 xmlns NMTOKEN " x y \u0009"
412 >
413 ]>
414 <z><a/></z>
415 #errors
416 #document
417 | <!DOCTYPE a>
418 | <!ELEMENT a >
419 | xmlns NMTOKEN () EXPLICIT "x y"
420 | <{} z>
421 | <{x y} a>
422 | xmlns xmlns="x y"

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24