/[suikacvs]/markup/html/whatpm/t/tokenizer-test-3.dat
Suika

Contents of /markup/html/whatpm/t/tokenizer-test-3.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Sep 13 04:19:56 2008 UTC (16 years, 1 month ago) by wakaba
Branch: MAIN
++ whatpm/t/ChangeLog	13 Sep 2008 04:17:38 -0000
2008-09-13  Wakaba  <wakaba@suika.fam.cx>

	* HTML-tree.t: tokenizer-test-3.dat added.

	* tokenizer-test-3.dat: New test data.

++ whatpm/Whatpm/ChangeLog	13 Sep 2008 04:19:14 -0000
2008-09-13  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken
	into four states so that no longer does the tokenizer have to push
	back next input characters in that state.

1 wakaba 1.1 #data
2     <!DOCTYPE HTML>
3     <p><svg><![CDATA[aa<p>aa]]></svg>
4     #errors
5     #document
6     | <!DOCTYPE HTML>
7     | <html>
8     | <head>
9     | <body>
10     | <p>
11     | <svg>
12     | "aa<p>aa"
13    
14     #data
15     <!DOCTYPE HTML>
16     <p><svg><![CDATA aa<p>aa]]></svg>
17     #errors
18     bogus <!
19     #document
20     | <!DOCTYPE HTML>
21     | <html>
22     | <head>
23     | <body>
24     | <p>
25     | <svg>
26     | <!-- [CDATA aa<p -->
27     | "aa]]>"
28    
29     #data
30     <!DOCTYPE HTML>
31     <p><svg><![CDATa[aa<p>aa]]></svg>
32     #errors
33     bogus <!
34     #document
35     | <!DOCTYPE HTML>
36     | <html>
37     | <head>
38     | <body>
39     | <p>
40     | <svg>
41     | <!-- [CDATa[aa<p -->
42     | "aa]]>"
43    
44     #data
45     <!DOCTYPE HTML>
46     <p><svg><![CD[aa<p>aa]]></svg>
47     #errors
48     bogus <!
49     #document
50     | <!DOCTYPE HTML>
51     | <html>
52     | <head>
53     | <body>
54     | <p>
55     | <svg>
56     | <!-- [CD[aa<p -->
57     | "aa]]>"
58    
59     #data
60     <!DOCTYPE HTML>
61     <p><svg><![C[aa<p>aa]]></svg>
62     #errors
63     bogus <!
64     #document
65     | <!DOCTYPE HTML>
66     | <html>
67     | <head>
68     | <body>
69     | <p>
70     | <svg>
71     | <!-- [C[aa<p -->
72     | "aa]]>"
73    
74     #data
75     <!DOCTYPE HTML>
76     <p><svg><![[aa<p>aa]]></svg>
77     #errors
78     bogus <!
79     #document
80     | <!DOCTYPE HTML>
81     | <html>
82     | <head>
83     | <body>
84     | <p>
85     | <svg>
86     | <!-- [[aa<p -->
87     | "aa]]>"

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24