/[suikacvs]/markup/html/whatpm/t/xml-result.txt
Suika

Contents of /markup/html/whatpm/t/xml-result.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (hide annotations) (download)
Fri Oct 17 07:14:29 2008 UTC (16 years ago) by wakaba
Branch: MAIN
Changes since 1.15: +63 -2 lines
File MIME type: text/plain
++ whatpm/t/ChangeLog	17 Oct 2008 07:14:01 -0000
2008-10-17  Wakaba  <wakaba@suika.fam.cx>

	* XML-Parser.t: "xml/attlists-1.dat" added.

++ whatpm/t/xml/ChangeLog	17 Oct 2008 07:14:24 -0000
2008-10-17  Wakaba  <wakaba@suika.fam.cx>

	* attlists-1.dat: New test data file.

	* doctypes-2.dat: New tests added.

++ whatpm/Whatpm/ChangeLog	17 Oct 2008 07:11:25 -0000
2008-10-17  Wakaba  <wakaba@suika.fam.cx>

	* NanoDOM.pm (node_name): New attribute.
	(ELEMENT_TYPE_DEFINITION_NODE, ATTRIBUTE_DEFINITION_NODE): New
	constants.
	(create_element_type_definition_node, create_attribute_definition,
	create_notation, create_general_entity,
	get_element_type_definition_node,
	set_element_type_definition_node, get_general_entity_node,
	set_general_entity_node, get_notation_node, set_notation_node,
	get_attribute_definition_node, set_attribute_definition_node): New
	methods.
	(element_types, entities, notations, attribute_definitions): New
	attributes.
	(DocumentType): Support for child nodes, entities, notations, and
	element types.
	(Entity, Notation, ElementTypeDefinition, AttributeDefinition):
	New classes.

	* Dumper.pm: Support for general entities, notations, element type
	definitions, and attribute definitions.

++ whatpm/Whatpm/HTML/ChangeLog	17 Oct 2008 07:12:26 -0000
2008-10-17  Wakaba  <wakaba@suika.fam.cx>

	* Tokenizer.pm.src: New token types AtTLIST_TOKEN, ELEMENT_TOKEN,
	GENERAL_ENTITY_TOKEN, PARAMETER_ENTITY_TOKEN, and NOTATION_TOKEN
	are added.  New intertion modes for markup declarations are added.

++ whatpm/Whatpm/XML/ChangeLog	17 Oct 2008 07:13:47 -0000
2008-10-17  Wakaba  <wakaba@suika.fam.cx>

	* Parser.pm.src (_tree_in_subset): Support for ELEMENT_TOKEN,
	ATTLIST_TOKEN, GENERAL_ENTITY_TOKEN, PARAMETER_ENTITY_TOKEN, and
	NOTATION_TOKEN.

1 wakaba 1.1 1..4935
2     # Running under perl version 5.010000 for linux
3 wakaba 1.16 # Current time local: Fri Oct 17 16:07:16 2008
4     # Current time GMT: Fri Oct 17 07:07:16 2008
5 wakaba 1.1 # Using Test.pm version 1.25
6 wakaba 1.6 # t/xml/elements-1.dat
7 wakaba 1.1 ok 1
8     ok 2
9     ok 3
10     ok 4
11     ok 5
12     ok 6
13     ok 7
14     ok 8
15     ok 9
16     ok 10
17 wakaba 1.2 ok 11
18     ok 12
19     ok 13
20     ok 14
21     ok 15
22     ok 16
23     ok 17
24     ok 18
25 wakaba 1.4 ok 19
26     ok 20
27     ok 21
28     ok 22
29     ok 23
30     ok 24
31     ok 25
32     ok 26
33     ok 27
34     ok 28
35     ok 29
36     ok 30
37     ok 31
38     ok 32
39     ok 33
40     ok 34
41     ok 35
42     ok 36
43     ok 37
44     ok 38
45     ok 39
46     ok 40
47     ok 41
48     ok 42
49     ok 43
50     ok 44
51 wakaba 1.12 # t/xml/attrs-1.dat
52 wakaba 1.4 ok 45
53     ok 46
54     ok 47
55     ok 48
56     ok 49
57     ok 50
58 wakaba 1.5 ok 51
59     ok 52
60     ok 53
61     ok 54
62     ok 55
63     ok 56
64     ok 57
65     ok 58
66     ok 59
67     ok 60
68     ok 61
69     ok 62
70     ok 63
71     ok 64
72     ok 65
73     ok 66
74     ok 67
75     ok 68
76     ok 69
77     ok 70
78     ok 71
79     ok 72
80     ok 73
81     ok 74
82     ok 75
83     ok 76
84     ok 77
85     ok 78
86     ok 79
87     ok 80
88     ok 81
89     ok 82
90     ok 83
91     ok 84
92     ok 85
93     ok 86
94     ok 87
95     ok 88
96     ok 89
97     ok 90
98     ok 91
99     ok 92
100     ok 93
101     ok 94
102     ok 95
103     ok 96
104     ok 97
105     ok 98
106 wakaba 1.6 ok 99
107     ok 100
108 wakaba 1.13 # t/xml/texts-1.dat
109 wakaba 1.6 ok 101
110     ok 102
111     ok 103
112     ok 104
113     ok 105
114     ok 106
115     ok 107
116     ok 108
117     ok 109
118     ok 110
119     ok 111
120     ok 112
121 wakaba 1.13 # t/xml/cdata-1.dat
122 wakaba 1.6 ok 113
123     ok 114
124     ok 115
125     ok 116
126     ok 117
127     ok 118
128     ok 119
129     ok 120
130     ok 121
131     ok 122
132     ok 123
133     ok 124
134 wakaba 1.7 ok 125
135     ok 126
136     ok 127
137     ok 128
138     ok 129
139     ok 130
140     ok 131
141     ok 132
142     ok 133
143     ok 134
144     ok 135
145     ok 136
146     ok 137
147     ok 138
148 wakaba 1.13 # t/xml/charref-1.dat
149 wakaba 1.7 ok 139
150     ok 140
151     ok 141
152     ok 142
153     ok 143
154 wakaba 1.8 ok 144
155 wakaba 1.7 ok 145
156 wakaba 1.8 ok 146
157     ok 147
158     ok 148
159     ok 149
160     ok 150
161     ok 151
162     ok 152
163     ok 153
164     ok 154
165     ok 155
166     ok 156
167 wakaba 1.15 # t/xml/comments-2.dat
168 wakaba 1.8 ok 157
169     ok 158
170     ok 159
171     ok 160
172     ok 161
173     ok 162
174     ok 163
175     ok 164
176     ok 165
177     ok 166
178     ok 167
179     ok 168
180     ok 169
181     ok 170
182 wakaba 1.9 ok 171
183     ok 172
184     ok 173
185     ok 174
186     ok 175
187     ok 176
188     ok 177
189     ok 178
190     ok 179
191     ok 180
192     ok 181
193     ok 182
194     ok 183
195     ok 184
196     ok 185
197     ok 186
198 wakaba 1.15 # t/xml/pis-1.dat
199 wakaba 1.9 ok 187
200     ok 188
201 wakaba 1.10 ok 189
202     ok 190
203     ok 191
204     ok 192
205     ok 193
206     ok 194
207     ok 195
208     ok 196
209     ok 197
210     ok 198
211     ok 199
212     ok 200
213     ok 201
214     ok 202
215     ok 203
216     ok 204
217     ok 205
218     ok 206
219     ok 207
220     ok 208
221     ok 209
222     ok 210
223     ok 211
224     ok 212
225     ok 213
226     ok 214
227     ok 215
228     ok 216
229     ok 217
230     ok 218
231     ok 219
232     ok 220
233     ok 221
234     ok 222
235     ok 223
236     ok 224
237     ok 225
238     ok 226
239     ok 227
240     ok 228
241     ok 229
242     ok 230
243     ok 231
244     ok 232
245     ok 233
246     ok 234
247     ok 235
248     ok 236
249     ok 237
250     ok 238
251     ok 239
252     ok 240
253     ok 241
254     ok 242
255     ok 243
256     ok 244
257 wakaba 1.15 # t/xml/pis-2.dat
258 wakaba 1.10 ok 245
259     ok 246
260     ok 247
261     ok 248
262     ok 249
263     ok 250
264     ok 251
265     ok 252
266     ok 253
267     ok 254
268     ok 255
269     ok 256
270     ok 257
271     ok 258
272     ok 259
273     ok 260
274     ok 261
275     ok 262
276     ok 263
277     ok 264
278     ok 265
279     ok 266
280     ok 267
281     ok 268
282     ok 269
283     ok 270
284     ok 271
285     ok 272
286 wakaba 1.15 # t/xml/xmldecls-1.dat
287 wakaba 1.10 ok 273
288     ok 274
289     ok 275
290     ok 276
291     ok 277
292     ok 278
293     ok 279
294     ok 280
295     ok 281
296     ok 282
297     ok 283
298     ok 284
299     ok 285
300     ok 286
301     ok 287
302     ok 288
303     ok 289
304     ok 290
305     ok 291
306     ok 292
307     ok 293
308     ok 294
309     ok 295
310     ok 296
311     ok 297
312     ok 298
313     ok 299
314     ok 300
315     ok 301
316     ok 302
317     ok 303
318     ok 304
319     ok 305
320     ok 306
321     ok 307
322     ok 308
323     ok 309
324     ok 310
325     ok 311
326     ok 312
327     ok 313
328     ok 314
329     ok 315
330     ok 316
331     ok 317
332     ok 318
333     ok 319
334     ok 320
335     ok 321
336     ok 322
337     ok 323
338     ok 324
339     ok 325
340     ok 326
341     ok 327
342     ok 328
343     ok 329
344     ok 330
345     ok 331
346     ok 332
347     ok 333
348     ok 334
349     ok 335
350     ok 336
351     ok 337
352     ok 338
353     ok 339
354     ok 340
355     ok 341
356     ok 342
357     ok 343
358     ok 344
359     ok 345
360     ok 346
361     ok 347
362     ok 348
363     ok 349
364     ok 350
365     ok 351
366     ok 352
367     ok 353
368     ok 354
369     ok 355
370     ok 356
371     ok 357
372     ok 358
373     ok 359
374     ok 360
375     ok 361
376     ok 362
377     ok 363
378     ok 364
379     ok 365
380     ok 366
381     ok 367
382     ok 368
383     ok 369
384     ok 370
385     ok 371
386     ok 372
387     ok 373
388     ok 374
389     ok 375
390     ok 376
391     ok 377
392     ok 378
393     ok 379
394     ok 380
395     ok 381
396     ok 382
397     ok 383
398     ok 384
399     ok 385
400     ok 386
401     ok 387
402     ok 388
403     ok 389
404     ok 390
405     ok 391
406     ok 392
407     ok 393
408     ok 394
409     ok 395
410     ok 396
411     ok 397
412     ok 398
413     ok 399
414     ok 400
415     ok 401
416     ok 402
417     ok 403
418     ok 404
419     ok 405
420     ok 406
421     ok 407
422     ok 408
423     ok 409
424     ok 410
425     ok 411
426     ok 412
427     ok 413
428     ok 414
429     ok 415
430     ok 416
431     ok 417
432     ok 418
433     ok 419
434     ok 420
435     ok 421
436     ok 422
437     ok 423
438     ok 424
439     ok 425
440     ok 426
441     ok 427
442     ok 428
443     ok 429
444     ok 430
445     ok 431
446     ok 432
447     ok 433
448     ok 434
449     ok 435
450     ok 436
451     ok 437
452     ok 438
453     ok 439
454     ok 440
455     ok 441
456     ok 442
457     ok 443
458     ok 444
459     ok 445
460     ok 446
461     ok 447
462     ok 448
463     ok 449
464     ok 450
465     ok 451
466     ok 452
467     ok 453
468     ok 454
469     ok 455
470     ok 456
471     ok 457
472     ok 458
473     ok 459
474     ok 460
475     ok 461
476     ok 462
477     ok 463
478     ok 464
479     ok 465
480     ok 466
481     ok 467
482     ok 468
483     ok 469
484     ok 470
485     ok 471
486 wakaba 1.11 ok 472
487     ok 473
488     ok 474
489     ok 475
490     ok 476
491     ok 477
492     ok 478
493     ok 479
494     ok 480
495     ok 481
496     ok 482
497     ok 483
498     ok 484
499     ok 485
500     ok 486
501     ok 487
502     ok 488
503     ok 489
504     ok 490
505     ok 491
506     ok 492
507     ok 493
508     ok 494
509     ok 495
510     ok 496
511     ok 497
512 wakaba 1.15 # t/xml/tree-1.dat
513 wakaba 1.11 ok 498
514     ok 499
515     ok 500
516     ok 501
517     ok 502
518     ok 503
519     ok 504
520     ok 505
521     ok 506
522     ok 507
523 wakaba 1.15 # t/xml/ns-elements-1.dat
524 wakaba 1.11 ok 508
525     ok 509
526     ok 510
527     ok 511
528     ok 512
529     ok 513
530     ok 514
531     ok 515
532     ok 516
533     ok 517
534     ok 518
535     ok 519
536     ok 520
537     ok 521
538     ok 522
539     ok 523
540     ok 524
541     ok 525
542     ok 526
543     ok 527
544     ok 528
545     ok 529
546     ok 530
547     ok 531
548     ok 532
549     ok 533
550     ok 534
551     ok 535
552     ok 536
553     ok 537
554     ok 538
555     ok 539
556     ok 540
557     ok 541
558     ok 542
559     ok 543
560     ok 544
561     ok 545
562     ok 546
563     ok 547
564     ok 548
565     ok 549
566     ok 550
567     ok 551
568     ok 552
569     ok 553
570     ok 554
571     ok 555
572 wakaba 1.15 # t/xml/ns-attrs-1.dat
573 wakaba 1.11 ok 556
574     ok 557
575     ok 558
576     ok 559
577     ok 560
578     ok 561
579     ok 562
580     ok 563
581     ok 564
582     ok 565
583     ok 566
584     ok 567
585     ok 568
586     ok 569
587     ok 570
588     ok 571
589     ok 572
590     ok 573
591 wakaba 1.12 ok 574
592     ok 575
593     ok 576
594     ok 577
595     ok 578
596     ok 579
597     ok 580
598     ok 581
599     ok 582
600     ok 583
601     ok 584
602     ok 585
603     ok 586
604     ok 587
605     ok 588
606     ok 589
607     ok 590
608     ok 591
609 wakaba 1.13 ok 592
610     ok 593
611     ok 594
612     ok 595
613     ok 596
614     ok 597
615     ok 598
616     ok 599
617     ok 600
618     ok 601
619     ok 602
620     ok 603
621     ok 604
622     ok 605
623     ok 606
624     ok 607
625     ok 608
626     ok 609
627     ok 610
628     ok 611
629     ok 612
630     ok 613
631     ok 614
632     ok 615
633     ok 616
634     ok 617
635     ok 618
636     ok 619
637     ok 620
638     ok 621
639     ok 622
640     ok 623
641     ok 624
642     ok 625
643     ok 626
644     ok 627
645     ok 628
646     ok 629
647     ok 630
648     ok 631
649     ok 632
650     ok 633
651     ok 634
652     ok 635
653     ok 636
654     ok 637
655     ok 638
656     ok 639
657     ok 640
658     ok 641
659 wakaba 1.14 ok 642
660     ok 643
661     ok 644
662     ok 645
663     ok 646
664     ok 647
665     ok 648
666     ok 649
667     ok 650
668     ok 651
669     ok 652
670     ok 653
671     ok 654
672     ok 655
673     ok 656
674     ok 657
675     ok 658
676     ok 659
677     ok 660
678     ok 661
679     ok 662
680     ok 663
681     ok 664
682     ok 665
683     ok 666
684     ok 667
685     ok 668
686     ok 669
687     ok 670
688     ok 671
689     ok 672
690     ok 673
691     ok 674
692     ok 675
693     ok 676
694     ok 677
695     ok 678
696     ok 679
697     ok 680
698     ok 681
699     ok 682
700     ok 683
701     ok 684
702     ok 685
703     ok 686
704     ok 687
705 wakaba 1.15 # t/xml/doctypes-1.dat
706 wakaba 1.14 ok 688
707     ok 689
708     ok 690
709     ok 691
710     ok 692
711     ok 693
712     ok 694
713     ok 695
714     ok 696
715     ok 697
716     ok 698
717     ok 699
718     ok 700
719     ok 701
720 wakaba 1.15 # t/xml/doctypes-2.dat
721 wakaba 1.14 ok 702
722     ok 703
723     ok 704
724     ok 705
725     ok 706
726     ok 707
727     ok 708
728     ok 709
729     ok 710
730     ok 711
731     ok 712
732     ok 713
733     ok 714
734     ok 715
735     ok 716
736     ok 717
737     ok 718
738     ok 719
739     ok 720
740     ok 721
741     ok 722
742     ok 723
743     ok 724
744     ok 725
745     ok 726
746     ok 727
747     ok 728
748     ok 729
749 wakaba 1.15 ok 730
750     ok 731
751     ok 732
752     ok 733
753     ok 734
754     ok 735
755     ok 736
756     ok 737
757     ok 738
758     ok 739
759     ok 740
760     ok 741
761     ok 742
762     ok 743
763     ok 744
764     ok 745
765     ok 746
766     ok 747
767     ok 748
768     ok 749
769     ok 750
770     ok 751
771     ok 752
772     ok 753
773     ok 754
774     ok 755
775     ok 756
776     ok 757
777     ok 758
778     ok 759
779     ok 760
780     ok 761
781     ok 762
782     ok 763
783     ok 764
784     ok 765
785     ok 766
786     ok 767
787     ok 768
788     ok 769
789     ok 770
790     ok 771
791     ok 772
792     ok 773
793     ok 774
794     ok 775
795     ok 776
796     ok 777
797     ok 778
798     ok 779
799     ok 780
800     ok 781
801     ok 782
802     ok 783
803     ok 784
804     ok 785
805     ok 786
806     ok 787
807     ok 788
808     ok 789
809 wakaba 1.16 ok 790
810     ok 791
811     ok 792
812     ok 793
813     ok 794
814     ok 795
815     ok 796
816     ok 797
817     ok 798
818     ok 799
819     # t/xml/attlists-1.dat
820     ok 800
821     ok 801
822     ok 802
823     ok 803
824     ok 804
825     ok 805
826     ok 806
827     ok 807
828     ok 808
829     ok 809
830     ok 810
831     ok 811
832     ok 812
833     ok 813
834     ok 814
835     ok 815
836     ok 816
837     ok 817
838     ok 818
839     ok 819
840     ok 820
841     ok 821
842     ok 822
843     ok 823
844     ok 824
845     ok 825
846     ok 826
847     ok 827
848     ok 828
849     ok 829
850     ok 830
851     ok 831
852     not ok 832
853     # Test 832 got: "2;10;no space before md name;;;m" (t/XML-Parser.t at line 95 fail #358)
854     # Expected: "2;10;no space before md name;;;m\n2;14;no attr type;;;m\nTODO: ..." (Parse error: qq'<!DOCTYPE a[\x{0A}<!ATTLIST% c>\x{0A}<!ATTLIST b>\x{0A}]><a/>')
855     # t/XML-Parser.t line 95 is: ok join ("\n", @errors), join ("\n", @{$test->{errors}->[0] or []}),
856     not ok 833
857     # Test 833 got: "<!DOCTYPE a>\n <!ELEMENT b >\n<{} a>\n" (t/XML-Parser.t at line 120 fail #358)
858     # Expected: "<!DOCTYPE a>\n <!ELEMENT % >\n <!ELEMENT b >\n<{} a>\n" (Document tree: qq'<!DOCTYPE a[\x{0A}<!ATTLIST% c>\x{0A}<!ATTLIST b>\x{0A}]><a/>')
859     # Line 2 is missing:
860     # - " <!ELEMENT % >\n"
861     # t/XML-Parser.t line 120 is: ok $result, $test->{document}->[0],
862     not ok 834
863     # Test 834 got: "" (t/XML-Parser.t at line 95 fail #359)
864     # Expected: "2;15;no attr type;;;m\nTODO: ..." (Parse error: qq'<!DOCTYPE a[\x{0A}<!ATTLIST b>\x{0A}<!ATTLIST % c>\x{0A}]><a/>')
865     not ok 835
866     # Test 835 got: "<!DOCTYPE a>\n <!ELEMENT b >\n<{} a>\n" (t/XML-Parser.t at line 120 fail #359)
867     # Expected: "<!DOCTYPE a>\n <!ELEMENT % >\n <!ELEMENT b >\n<{} a>\n" (Document tree: qq'<!DOCTYPE a[\x{0A}<!ATTLIST b>\x{0A}<!ATTLIST % c>\x{0A}]><a/>')
868     # Line 2 is missing:
869     # - " <!ELEMENT % >\n"

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24