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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Oct 16 03:39:57 2008 UTC (16 years, 6 months ago) by wakaba
Branch: MAIN
++ whatpm/t/ChangeLog	16 Oct 2008 03:39:39 -0000
2008-10-16  Wakaba  <wakaba@suika.fam.cx>

	* XML-Parser.t: "xml/pis-2.dat" and "xml/comments-2.dat" are added.

++ whatpm/t/xml/ChangeLog	16 Oct 2008 03:39:53 -0000
2008-10-16  Wakaba  <wakaba@suika.fam.cx>

	* doctypes-2.dat: New test added.

	* comments-2.dat, pis-2.dat: New test data files.

++ whatpm/Whatpm/HTML/ChangeLog	16 Oct 2008 03:36:51 -0000
2008-10-16  Wakaba  <wakaba@suika.fam.cx>

	* Tokenizer.pm.src: New token type END_OF_DOCTYPE_TOKEN added.
	New states DOCTYPE_TAG_STATE and
	BOGUS_DOCTYPE_INTERNAL_SUBSET_AFTER_STATE are added.  (Bogus
	string after the internal subset, which was handled by the state
	BOGUS_DOCTYPE_STATE, are now handled by the new state.)  Support
	for comments, bogus comments, and processing instructions in the
	internal subset.  If there is the internal subset, then emit the
	doctype token before the internal subset (with its
	$token->{has_internal_subset} flag set) and an
	END_OF_DOCTYPE_TOKEN after the internal subset.

++ whatpm/Whatpm/XML/ChangeLog	16 Oct 2008 03:39:19 -0000
2008-10-16  Wakaba  <wakaba@suika.fam.cx>

	* Parser.pm.src: Insertion mode IN_SUBSET_IM added.  In the
	"initial" insertion mode, if the DOCTYPE token's "has internal
	subset" flag is set, then switch to the "in subset" insertion
	mode.

1 wakaba 1.1 #data
2     <!DOCTYPE a[
3     <?x?>
4     ]><a/>
5     #errors
6     #document
7     | <!DOCTYPE a>
8     | <?x ?>
9     | <{} a>
10    
11     #data
12     <!DOCTYPE a[
13     <?x y?>
14     ]><a/>
15     #errors
16     #document
17     | <!DOCTYPE a>
18     | <?x y?>
19     | <{} a>
20    
21     #data
22     <!DOCTYPE a[
23     <?x?>
24     <?y?>
25     ]><a/>
26     #errors
27     #document
28     | <!DOCTYPE a>
29     | <?x ?>
30     | <?y ?>
31     | <{} a>
32    
33     #data
34     <!DOCTYPE a[
35     <?x?>
36     ]>
37     <?y?>
38     <a/>
39     #errors
40     #document
41     | <!DOCTYPE a>
42     | <?x ?>
43     | <?y ?>
44     | <{} a>
45    
46     #data
47     <!DOCTYPE a[
48     <?x ?>
49     ]><a/>
50     #errors
51     #document
52     | <!DOCTYPE a>
53     | <?x ?>
54     | <{} a>
55    
56     #data
57     <!DOCTYPE a[
58     <?x ??y?>
59     ]><a/>
60     #errors
61     #document
62     | <!DOCTYPE a>
63     | <?x ??y?>
64     | <{} a>
65    
66     #data
67     <!DOCTYPE a[
68     <?x
69     #errors
70     2;3;no pic;;;m
71     2;3;unclosed internal subset;;;m
72     2;3;no root element;;;m
73     #document
74     | <!DOCTYPE a>
75     | <?x ?>
76    
77     #data escaped
78     <!DOCTYPE a[
79     <?x\u0020
80     #errors
81     2;4;no pic;;;m
82     2;4;unclosed internal subset;;;m
83     2;4;no root element;;;m
84     #document
85     | <!DOCTYPE a>
86     | <?x ?>
87    
88     #data
89     <!DOCTYPE a[
90     <?x y
91     #errors
92     2;5;no pic;;;m
93     2;5;unclosed internal subset;;;m
94     2;5;no root element;;;m
95     #document
96     | <!DOCTYPE a>
97     | <?x y?>
98    
99     #data
100     <!DOCTYPE a[
101     <?x ?
102     #errors
103     2;5;no pic;;;m
104     2;5;unclosed internal subset;;;m
105     2;5;no root element;;;m
106     #document
107     | <!DOCTYPE a>
108     | <?x ??>
109    
110     #data
111     <!DOCTYPE a[
112     <?
113     #errors
114     2;1;bare pio;;;m
115     2;2;unclosed internal subset;;;m
116     2;2;no root element;;;m
117     #document
118     | <!DOCTYPE a>
119    
120     #data
121     <!DOCTYPE a[
122     <?>
123     #errors
124     2;3;no pic;;;m
125     2;3;unclosed internal subset;;;m
126     2;3;no root element;;;m
127     #document
128     | <!DOCTYPE a>
129     | <?> ?>
130    
131     #data
132     <!DOCTYPE a[
133     <?>
134     ]><a/>
135     #errors
136     3;6;no pic;;;m
137     3;6;unclosed internal subset;;;m
138     3;6;no root element;;;m
139     #document
140     | <!DOCTYPE a>
141     | <?> ]><a/>?>
142    
143     #data
144     <!DOCTYPE a[
145     <??>
146     <?x?>
147     ]><a/>
148     #errors
149     2;1;bare pio;;;m
150     #document
151     | <!DOCTYPE a>
152     | <?x ?>
153     | <{} a>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24