/[suikacvs]/markup/html/whatpm/t/tree-construction/tests2.dat
Suika

Contents of /markup/html/whatpm/t/tree-construction/tests2.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Nov 11 05:06:29 2007 UTC (17 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.4: +92 -92 lines
test data updated

1 #data
2 <!DOCTYPE HTML>Test
3 #errors
4 #document
5 | <!DOCTYPE HTML>
6 | <html>
7 | <head>
8 | <body>
9 | "Test"
10
11 #data
12 <textarea>test</div>test
13 #errors
14 Line: 1 Col: 10 Unexpected start tag (textarea). Expected DOCTYPE.
15 Line: 1 Col: 24 Expected closing tag. Unexpected end of file.
16 #document
17 | <html>
18 | <head>
19 | <body>
20 | <textarea>
21 | "test</div>test"
22
23 #data
24 <table><td>
25 #errors
26 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
27 Line: 1 Col: 11 Unexpected table cell start tag (td) in the table body phase.
28 Line: 1 Col: 11 Expected closing tag. Unexpected end of file.
29 #document
30 | <html>
31 | <head>
32 | <body>
33 | <table>
34 | <tbody>
35 | <tr>
36 | <td>
37
38 #data
39 <table><td>test</tbody></table>
40 #errors
41 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
42 Line: 1 Col: 11 Unexpected table cell start tag (td) in the table body phase.
43 #document
44 | <html>
45 | <head>
46 | <body>
47 | <table>
48 | <tbody>
49 | <tr>
50 | <td>
51 | "test"
52
53 #data
54 <frame>test
55 #errors
56 Line: 1 Col: 7 Unexpected start tag (frame). Expected DOCTYPE.
57 Line: 1 Col: 7 Unexpected start tag frame. Ignored.
58 #document
59 | <html>
60 | <head>
61 | <body>
62 | "test"
63
64 #data
65 <!DOCTYPE HTML><frameset>test
66 #errors
67 Line: 1 Col: 29 Unepxected characters in the frameset phase. Characters ignored.
68 Line: 1 Col: 29 Expected closing tag. Unexpected end of file.
69 #document
70 | <!DOCTYPE HTML>
71 | <html>
72 | <head>
73 | <frameset>
74
75 #data
76 <!DOCTYPE HTML><frameset><!DOCTYPE HTML>
77 #errors
78 Line: 1 Col: 40 Unexpected DOCTYPE. Ignored.
79 Line: 1 Col: 40 Expected closing tag. Unexpected end of file.
80 #document
81 | <!DOCTYPE HTML>
82 | <html>
83 | <head>
84 | <frameset>
85
86 #data
87 <!DOCTYPE HTML><font><p><b>test</font>
88 #errors
89 Line: 1 Col: 38 End tag (font) violates step 1, paragraph 3 of the adoption agency algorithm.
90 Line: 1 Col: 38 End tag (font) violates step 1, paragraph 3 of the adoption agency algorithm.
91 #document
92 | <!DOCTYPE HTML>
93 | <html>
94 | <head>
95 | <body>
96 | <font>
97 | <p>
98 | <font>
99 | <b>
100 | "test"
101
102 #data
103 <!DOCTYPE HTML><dt><div><dd>
104 #errors
105 Line: 1 Col: 28 Missing end tag (div, dt).
106 #document
107 | <!DOCTYPE HTML>
108 | <html>
109 | <head>
110 | <body>
111 | <dt>
112 | <div>
113 | <dd>
114
115 #data
116 <script></x
117 #errors
118 Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE.
119 Line: 1 Col: 11 Unexpected end of file. Expected end tag (script).
120 #document
121 | <html>
122 | <head>
123 | <script>
124 | "</x"
125 | <body>
126
127 #data
128 <table><plaintext><td>
129 #errors
130 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
131 Line: 1 Col: 18 Unexpected start tag (plaintext) in table context caused voodoo mode.
132 Line: 1 Col: 21 Unexpected non-space characters in table context caused voodoo mode.
133 Line: 1 Col: 22 Unexpected non-space characters in table context caused voodoo mode.
134 Line: 1 Col: 22 Expected closing tag. Unexpected end of file.
135 #document
136 | <html>
137 | <head>
138 | <body>
139 | <plaintext>
140 | "<td>"
141 | <table>
142
143 #data
144 <plaintext></plaintext>
145 #errors
146 Line: 1 Col: 11 Unexpected start tag (plaintext). Expected DOCTYPE.
147 Line: 1 Col: 23 Expected closing tag. Unexpected end of file.
148 #document
149 | <html>
150 | <head>
151 | <body>
152 | <plaintext>
153 | "</plaintext>"
154
155 #data
156 <!DOCTYPE HTML><table><tr>TEST
157 #errors
158 Line: 1 Col: 30 Unexpected non-space characters in table context caused voodoo mode.
159 Line: 1 Col: 30 Expected closing tag. Unexpected end of file.
160 #document
161 | <!DOCTYPE HTML>
162 | <html>
163 | <head>
164 | <body>
165 | "TEST"
166 | <table>
167 | <tbody>
168 | <tr>
169
170 #data
171 <!DOCTYPE HTML><body t1=1><body t2=2><body t3=3 t4=4>
172 #errors
173 Line: 1 Col: 37 Unexpected start tag (body).
174 Line: 1 Col: 53 Unexpected start tag (body).
175 #document
176 | <!DOCTYPE HTML>
177 | <html>
178 | <head>
179 | <body>
180 | t1="1"
181 | t2="2"
182 | t3="3"
183 | t4="4"
184
185 #data
186 </b test
187 #errors
188 Line: 1 Col: 8 Unexpected end of file in attribute name.
189 Line: 1 Col: 8 End tag contains unexpected attributes.
190 Line: 1 Col: 8 Unexpected end tag (b). Expected DOCTYPE.
191 Line: 1 Col: 8 Unexpected end tag (b) after the (implied) root element.
192 #document
193 | <html>
194 | <head>
195 | <body>
196
197 #data
198 <!DOCTYPE HTML></b test<b &=&amp>X
199 #errors
200 Line: 1 Col: 32 Named entity didn't end with ';'.
201 Line: 1 Col: 33 End tag contains unexpected attributes.
202 Line: 1 Col: 33 Unexpected end tag (b) after the (implied) root element.
203 #document
204 | <!DOCTYPE HTML>
205 | <html>
206 | <head>
207 | <body>
208 | "X"
209
210 #data
211 <!doctypehtml><scrIPt type=text/x-foobar;baz>X</SCRipt
212 #errors
213 Line: 1 Col: 9 No space after literal string 'DOCTYPE'.
214 Line: 1 Col: 54 Unexpected end of file in the tag name.
215 #document
216 | <!DOCTYPE html>
217 | <html>
218 | <head>
219 | <script>
220 | type="text/x-foobar;baz"
221 | "X"
222 | <body>
223
224 #data
225 &
226 #errors
227 Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE.
228 #document
229 | <html>
230 | <head>
231 | <body>
232 | "&"
233
234 #data
235 &#
236 #errors
237 Line: 1 Col: 1 Numeric entity expected. Got end of file instead.
238 Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE.
239 #document
240 | <html>
241 | <head>
242 | <body>
243 | "&#"
244
245 #data
246 &#X
247 #errors
248 Line: 1 Col: 3 Numeric entity expected but none found.
249 Line: 1 Col: 3 Unexpected non-space characters. Expected DOCTYPE.
250 #document
251 | <html>
252 | <head>
253 | <body>
254 | "&#X"
255
256 #data
257 &#x
258 #errors
259 Line: 1 Col: 3 Numeric entity expected but none found.
260 Line: 1 Col: 3 Unexpected non-space characters. Expected DOCTYPE.
261 #document
262 | <html>
263 | <head>
264 | <body>
265 | "&#x"
266
267 #data
268 &#45
269 #errors
270 Line: 1 Col: 4 Numeric entity didn't end with ';'.
271 Line: 1 Col: 4 Unexpected non-space characters. Expected DOCTYPE.
272 #document
273 | <html>
274 | <head>
275 | <body>
276 | "-"
277
278 #data
279 &x-test
280 #errors
281 Line: 1 Col: 1 Named entity expected. Got none.
282 Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE.
283 #document
284 | <html>
285 | <head>
286 | <body>
287 | "&x-test"
288
289 #data
290 <!doctypehtml><p><li>
291 #errors
292 Line: 1 Col: 9 No space after literal string 'DOCTYPE'.
293 #document
294 | <!DOCTYPE html>
295 | <html>
296 | <head>
297 | <body>
298 | <p>
299 | <li>
300
301 #data
302 <!doctypeHTML><p><dt>
303 #errors
304 Line: 1 Col: 9 No space after literal string 'DOCTYPE'.
305 #document
306 | <!DOCTYPE HTML>
307 | <html>
308 | <head>
309 | <body>
310 | <p>
311 | <dt>
312
313 #data
314 <!doctypehtmL><p><dd>
315 #errors
316 Line: 1 Col: 9 No space after literal string 'DOCTYPE'.
317 #document
318 | <!DOCTYPE htmL>
319 | <html>
320 | <head>
321 | <body>
322 | <p>
323 | <dd>
324
325 #data
326 <!doctypehtml><p><form>
327 #errors
328 Line: 1 Col: 9 No space after literal string 'DOCTYPE'.
329 Line: 1 Col: 23 Expected closing tag. Unexpected end of file.
330 #document
331 | <!DOCTYPE html>
332 | <html>
333 | <head>
334 | <body>
335 | <p>
336 | <form>
337
338 #data
339 <!DOCTYPE HTML><p><b><i><u></p> <p>X
340 #errors
341 Line: 1 Col: 31 Unexpected end tag (p). Ignored.
342 Line: 1 Col: 36 Expected closing tag. Unexpected end of file.
343 #document
344 | <!DOCTYPE HTML>
345 | <html>
346 | <head>
347 | <body>
348 | <p>
349 | <b>
350 | <i>
351 | <u>
352 | <b>
353 | <i>
354 | <u>
355 | " "
356 | <p>
357 | "X"
358
359 #data
360 <!DOCTYPE HTML><p></P>X
361 #errors
362 #document
363 | <!DOCTYPE HTML>
364 | <html>
365 | <head>
366 | <body>
367 | <p>
368 | "X"
369
370 #data
371 &AMP
372 #errors
373 Line: 1 Col: 4 Named entity didn't end with ';'.
374 Line: 1 Col: 4 Unexpected non-space characters. Expected DOCTYPE.
375 #document
376 | <html>
377 | <head>
378 | <body>
379 | "&"
380
381 #data
382 &AMp;
383 #errors
384 Line: 1 Col: 1 Named entity expected. Got none.
385 Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE.
386 #document
387 | <html>
388 | <head>
389 | <body>
390 | "&AMp;"
391
392 #data
393 <!DOCTYPE HTML><html><head></head><body><thisISasillyTESTelementNameToMakeSureCrazyTagNamesArePARSEDcorrectLY>
394 #errors
395 Line: 1 Col: 110 Expected closing tag. Unexpected end of file.
396 #document
397 | <!DOCTYPE HTML>
398 | <html>
399 | <head>
400 | <body>
401 | <thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly>
402
403 #data
404 <!DOCTYPE HTML>X</body>X
405 #errors
406 Line: 1 Col: 24 Unexpected non-space characters in the after body phase.
407 #document
408 | <!DOCTYPE HTML>
409 | <html>
410 | <head>
411 | <body>
412 | "XX"
413
414 #data
415 <!DOCTYPE HTML><!-- X
416 #errors
417 Line: 1 Col: 21 Unexpected end of file in comment.
418 #document
419 | <!DOCTYPE HTML>
420 | <!-- X -->
421 | <html>
422 | <head>
423 | <body>
424
425 #data
426 <!DOCTYPE HTML><table><caption>test TEST</caption><td>test
427 #errors
428 Line: 1 Col: 54 Unexpected table cell start tag (td) in the table body phase.
429 Line: 1 Col: 58 Expected closing tag. Unexpected end of file.
430 #document
431 | <!DOCTYPE HTML>
432 | <html>
433 | <head>
434 | <body>
435 | <table>
436 | <caption>
437 | "test TEST"
438 | <tbody>
439 | <tr>
440 | <td>
441 | "test"
442
443 #data
444 <!DOCTYPE HTML><select><option><optgroup>
445 #errors
446 Line: 1 Col: 41 Expected closing tag. Unexpected end of file.
447 #document
448 | <!DOCTYPE HTML>
449 | <html>
450 | <head>
451 | <body>
452 | <select>
453 | <option>
454 | <optgroup>
455
456 #data
457 <!DOCTYPE HTML><select><optgroup><option></optgroup><option><select><option>
458 #errors
459 Line: 1 Col: 68 Unexpected select start tag in the select phase implies select start tag.
460 Line: 1 Col: 76 Unexpected start tag option. Ignored.
461 #document
462 | <!DOCTYPE HTML>
463 | <html>
464 | <head>
465 | <body>
466 | <select>
467 | <optgroup>
468 | <option>
469 | <option>
470
471 #data
472 <!DOCTYPE HTML><select><optgroup><option><optgroup>
473 #errors
474 Line: 1 Col: 51 Expected closing tag. Unexpected end of file.
475 #document
476 | <!DOCTYPE HTML>
477 | <html>
478 | <head>
479 | <body>
480 | <select>
481 | <optgroup>
482 | <option>
483 | <optgroup>
484
485 #data
486 <!DOCTYPE HTML><font><input><input></font>
487 #errors
488 #document
489 | <!DOCTYPE HTML>
490 | <html>
491 | <head>
492 | <body>
493 | <font>
494 | <input>
495 | <input>
496
497 #data
498 <!DOCTYPE HTML><!-- XXX - XXX -->
499 #errors
500 #document
501 | <!DOCTYPE HTML>
502 | <!-- XXX - XXX -->
503 | <html>
504 | <head>
505 | <body>
506
507 #data
508 <!DOCTYPE HTML><!-- XXX - XXX
509 #errors
510 Line: 1 Col: 29 Unexpected end of file in comment (-)
511 #document
512 | <!DOCTYPE HTML>
513 | <!-- XXX - XXX -->
514 | <html>
515 | <head>
516 | <body>
517
518 #data
519 <!DOCTYPE HTML><!-- XXX - XXX - XXX -->
520 #errors
521 #document
522 | <!DOCTYPE HTML>
523 | <!-- XXX - XXX - XXX -->
524 | <html>
525 | <head>
526 | <body>
527
528 #data
529 <isindex test=x name=x>
530 #errors
531 Line: 1 Col: 23 Unexpected start tag (isindex). Expected DOCTYPE.
532 Line: 1 Col: 23 Unexpected start tag isindex. Don't use it!
533 #document
534 | <html>
535 | <head>
536 | <body>
537 | <form>
538 | <hr>
539 | <p>
540 | <label>
541 | "This is a searchable index. Insert your search keywords here: "
542 | <input>
543 | name="isindex"
544 | test="x"
545 | <hr>
546
547 #data
548 test
549 test
550 #errors
551 Line: 2 Col: 4 Unexpected non-space characters. Expected DOCTYPE.
552 #document
553 | <html>
554 | <head>
555 | <body>
556 | "test
557 test"
558
559 #data
560 <p><b><i><u></p>
561 <p>X
562 #errors
563 Line: 1 Col: 3 Unexpected start tag (p). Expected DOCTYPE.
564 Line: 1 Col: 16 Unexpected end tag (p). Ignored.
565 Line: 2 Col: 4 Expected closing tag. Unexpected end of file.
566 #document
567 | <html>
568 | <head>
569 | <body>
570 | <p>
571 | <b>
572 | <i>
573 | <u>
574 | <b>
575 | <i>
576 | <u>
577 | "
578 "
579 | <p>
580 | "X"
581
582 #data
583 <!DOCTYPE HTML><body><title>test</body></title>
584 #errors
585 Line: 1 Col: 28 Unexpected start tag (title) that can be in head. Moved.
586 #document
587 | <!DOCTYPE HTML>
588 | <html>
589 | <head>
590 | <title>
591 | "test</body>"
592 | <body>
593
594 #data
595 <!DOCTYPE HTML><body><title>X</title><meta name=z><link rel=foo><style>
596 x { content:"</style" } </style>
597 #errors
598 Line: 1 Col: 28 Unexpected start tag (title) that can be in head. Moved.
599 #document
600 | <!DOCTYPE HTML>
601 | <html>
602 | <head>
603 | <title>
604 | "X"
605 | <body>
606 | <meta>
607 | name="z"
608 | <link>
609 | rel="foo"
610 | <style>
611 | "
612 x { content:"</style" } "
613
614 #data
615 <!DOCTYPE HTML><select><optgroup></optgroup></select>
616 #errors
617 #document
618 | <!DOCTYPE HTML>
619 | <html>
620 | <head>
621 | <body>
622 | <select>
623 | <optgroup>
624
625 #data
626
627
628 #errors
629 Line: 2 Col: 1 Unexpected End of file. Expected DOCTYPE.
630 #document
631 | <html>
632 | <head>
633 | <body>
634
635 #data
636 <!DOCTYPE HTML> <html>
637 #errors
638 #document
639 | <!DOCTYPE HTML>
640 | <html>
641 | <head>
642 | <body>
643
644 #data
645 <!DOCTYPE HTML><script>
646 </script> <title>x</title> </head>
647 #errors
648 #document
649 | <!DOCTYPE HTML>
650 | <html>
651 | <head>
652 | <script>
653 | "
654 "
655 | " "
656 | <title>
657 | "x"
658 | " "
659 | <body>
660
661 #data
662 <!DOCTYPE HTML><html><body><html id=x>
663 #errors
664 Line: 1 Col: 38 html needs to be the first start tag.
665 #document
666 | <!DOCTYPE HTML>
667 | <html>
668 | id="x"
669 | <head>
670 | <body>
671
672 #data
673 <!DOCTYPE HTML>X</body><html id="x">
674 #errors
675 Line: 1 Col: 36 Unexpected start tag token (html) in the after body phase.
676 Line: 1 Col: 36 html needs to be the first start tag.
677 #document
678 | <!DOCTYPE HTML>
679 | <html>
680 | id="x"
681 | <head>
682 | <body>
683 | "X"
684
685 #data
686 <!DOCTYPE HTML><head><html id=x>
687 #errors
688 Line: 1 Col: 32 html needs to be the first start tag.
689 #document
690 | <!DOCTYPE HTML>
691 | <html>
692 | id="x"
693 | <head>
694 | <body>
695
696 #data
697 <!DOCTYPE HTML>X</html>X
698 #errors
699 Line: 1 Col: 24 Unexpected non-space characters. Expected end of file.
700 Line: 1 Col: 24 Unexpected non-space characters in the after body phase.
701 #document
702 | <!DOCTYPE HTML>
703 | <html>
704 | <head>
705 | <body>
706 | "XX"
707
708 #data
709 <!DOCTYPE HTML>X</html>
710 #errors
711 #document
712 | <!DOCTYPE HTML>
713 | <html>
714 | <head>
715 | <body>
716 | "X "
717
718 #data
719 <!DOCTYPE HTML>X</html><p>X
720 #errors
721 Line: 1 Col: 26 Unexpected start tag (p). Expected end of file.
722 Line: 1 Col: 26 Unexpected start tag token (p) in the after body phase.
723 #document
724 | <!DOCTYPE HTML>
725 | <html>
726 | <head>
727 | <body>
728 | "X"
729 | <p>
730 | "X"
731
732 #data
733 <!DOCTYPE HTML>X<p/x/y/z>
734 #errors
735 Line: 1 Col: 19 Solidus (/) incorrectly placed in tag.
736 Line: 1 Col: 21 Solidus (/) incorrectly placed in tag.
737 Line: 1 Col: 23 Solidus (/) incorrectly placed in tag.
738 #document
739 | <!DOCTYPE HTML>
740 | <html>
741 | <head>
742 | <body>
743 | "X"
744 | <p>
745 | x=""
746 | y=""
747 | z=""
748
749 #data
750 <!DOCTYPE HTML><!--x--
751 #errors
752 Line: 1 Col: 22 Unexpected end of file in comment (--).
753 #document
754 | <!DOCTYPE HTML>
755 | <!-- x -->
756 | <html>
757 | <head>
758 | <body>
759
760 #data
761 <!DOCTYPE HTML><table><tr><td></p></table>
762 #errors
763 Line: 1 Col: 34 Unexpected end tag (p). Ignored.
764 #document
765 | <!DOCTYPE HTML>
766 | <html>
767 | <head>
768 | <body>
769 | <table>
770 | <tbody>
771 | <tr>
772 | <td>
773 | <p>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24