1 |
wakaba |
1.41 |
2009-09-05 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
|
3 |
|
|
* Tokenizer.pm.src (_get_next_token): Implemented the "comment end |
4 |
|
|
bang state" (HTML5 revision 3191). |
5 |
|
|
|
6 |
wakaba |
1.39 |
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
|
8 |
wakaba |
1.40 |
* Tokenizer.pm.src: Any "<" character in attribute names become |
9 |
|
|
parse error (HTML5 revision 3354). |
10 |
|
|
|
11 |
|
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
|
13 |
wakaba |
1.39 |
* Tokenizer.pm.src: Lowercase-fold doctype names (HTML5 revision |
14 |
|
|
2501, cf. HTML5 revision 3571). |
15 |
|
|
|
16 |
wakaba |
1.38 |
2009-07-05 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
|
18 |
|
|
* Tokenizer.pm.src: Reduced the number of parse errors on broken |
19 |
|
|
DOCTYPE (HTML5 revision 3121). |
20 |
|
|
|
21 |
wakaba |
1.36 |
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
|
23 |
wakaba |
1.37 |
* Tokenizer.pm.src: Reduced a parse error (HTML5 revision 3194). |
24 |
|
|
|
25 |
|
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
26 |
|
|
|
27 |
wakaba |
1.36 |
* Tokenizer.pm.src: "<" in unquoted attribute values is now |
28 |
|
|
treated as parse error (HTML5 revision 3206). |
29 |
|
|
|
30 |
wakaba |
1.35 |
2008-11-07 Wakaba <wakaba@suika.fam.cx> |
31 |
|
|
|
32 |
|
|
* Dumper.pm (dumptree): Support for namespace abbreviation for |
33 |
|
|
SWML namespaces. |
34 |
|
|
|
35 |
wakaba |
1.26 |
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
36 |
|
|
|
37 |
wakaba |
1.34 |
* Tokenizer.pm.src: Normalize white space characters in attribute |
38 |
|
|
value literals in XML documents. Don't apply character reference |
39 |
|
|
mapping table for non-NULL non-surrogate code points. |
40 |
|
|
|
41 |
|
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
42 |
|
|
|
43 |
wakaba |
1.33 |
* Tokenizer.pm.src: Set the "stop_processing" flag true when a |
44 |
|
|
parameter entity occurs in a standalone="no" document. |
45 |
|
|
|
46 |
|
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
47 |
|
|
|
48 |
wakaba |
1.32 |
* Tokenizer.pm.src: Column number counting fixed. |
49 |
|
|
|
50 |
|
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
|
52 |
wakaba |
1.31 |
* Tokenizer.pm.src: Raise a parse error for '&' that does not |
53 |
|
|
introduce a reference in XML. Support for non-ASCII entity |
54 |
|
|
reference names. |
55 |
|
|
|
56 |
|
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
|
58 |
wakaba |
1.30 |
* Tokenizer.pm.src: Make uppercase "&#X" in XML a parse error. |
59 |
|
|
Remove the limitation of entity name length. Enable replacement |
60 |
|
|
of text-only general entities. Raise a parse error for an |
61 |
|
|
unparsed entity reference. Raise a parse error for a general |
62 |
|
|
entity reference to an undefined entity. |
63 |
|
|
|
64 |
|
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
|
66 |
wakaba |
1.29 |
* Tokenizer.pm.src: Support for <!ELEMENT>. |
67 |
|
|
(AFTER_NOTATION_NAME_STATE): Renamed as |AFTER_MD_DEF_STATE| (i.e. |
68 |
|
|
after markup declaration definition state). |
69 |
|
|
|
70 |
|
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
|
72 |
wakaba |
1.28 |
* Tokenizer.pm.src: Support for EntityValue. |
73 |
|
|
|
74 |
|
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
|
76 |
wakaba |
1.27 |
* Dumper.pm: Dump text content of Entity nodes. |
77 |
|
|
|
78 |
|
|
* Tokenizer.pm.src: Support for <!ENTITY ... NDATA>. |
79 |
|
|
|
80 |
|
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
81 |
|
|
|
82 |
wakaba |
1.26 |
* Tokenizer.pm.src (_get_next_token): Make keywords 'ENTITY', |
83 |
|
|
'ELEMENT', 'ATTLIST', and 'NOTATION' ASCII case-insensitive. |
84 |
|
|
|
85 |
wakaba |
1.24 |
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
86 |
|
|
|
87 |
wakaba |
1.25 |
* Tokenizer.pm.src: Modifies PUBLIC/SYSTEM identifier tokenizer |
88 |
|
|
states such that <!ENTITY> and <!NOTATION> can be tokenized by |
89 |
|
|
those states as well. |
90 |
|
|
(BOGUS_MD_STATE): A new state; used for bogus markup declarations, |
91 |
|
|
in favor of BOGUS_COMMENT_STATE. |
92 |
|
|
|
93 |
|
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
94 |
|
|
|
95 |
wakaba |
1.24 |
* Tokenizer.pm.src: <!ATTLIST> in the internal subset of an XML |
96 |
|
|
document, is now fully implemented. |
97 |
|
|
|
98 |
|
|
* Dumper.pm (dumptree): Output allowed tokens and default value |
99 |
|
|
always. |
100 |
|
|
|
101 |
wakaba |
1.23 |
2008-10-17 Wakaba <wakaba@suika.fam.cx> |
102 |
|
|
|
103 |
|
|
* Tokenizer.pm.src: New token types AtTLIST_TOKEN, ELEMENT_TOKEN, |
104 |
|
|
GENERAL_ENTITY_TOKEN, PARAMETER_ENTITY_TOKEN, and NOTATION_TOKEN |
105 |
|
|
are added. New intertion modes for markup declarations are added. |
106 |
|
|
|
107 |
wakaba |
1.22 |
2008-10-16 Wakaba <wakaba@suika.fam.cx> |
108 |
|
|
|
109 |
|
|
* Tokenizer.pm.src: New token type END_OF_DOCTYPE_TOKEN added. |
110 |
|
|
New states DOCTYPE_TAG_STATE and |
111 |
|
|
BOGUS_DOCTYPE_INTERNAL_SUBSET_AFTER_STATE are added. (Bogus |
112 |
|
|
string after the internal subset, which was handled by the state |
113 |
|
|
BOGUS_DOCTYPE_STATE, are now handled by the new state.) Support |
114 |
|
|
for comments, bogus comments, and processing instructions in the |
115 |
|
|
internal subset. If there is the internal subset, then emit the |
116 |
|
|
doctype token before the internal subset (with its |
117 |
|
|
$token->{has_internal_subset} flag set) and an |
118 |
|
|
END_OF_DOCTYPE_TOKEN after the internal subset. |
119 |
|
|
|
120 |
wakaba |
1.16 |
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
121 |
|
|
|
122 |
wakaba |
1.21 |
* Tokenizer.pm.src: $self->{s_kwd} for non-DATA_STATE states are |
123 |
|
|
renamed as $self->{kwd} to avoid confliction. Don't raise |
124 |
|
|
case-sensitivity error for the keyword "DOCTYPE" in HTML mode. |
125 |
|
|
Support for internal subsets (internal subset itself only; no |
126 |
|
|
declaration in them is supported yet). Raise a parse error for |
127 |
|
|
non-uppercase keywords "PUBLIC" and "SYSTEM" in XML mode. Raise a |
128 |
|
|
parse error if no system identifier is specified for a DOCTYPE |
129 |
|
|
declaration with a public identifier. Don't close the DOCTYPE |
130 |
|
|
declaration by a ">" character in the system declaration in XML |
131 |
|
|
mode. |
132 |
|
|
|
133 |
|
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
134 |
|
|
|
135 |
wakaba |
1.20 |
* Tokenizer.pm.src: Set index attribute to each attribute token, |
136 |
|
|
for ignoring namespaced duplicate attribute at the XML namespace |
137 |
|
|
parser layer. Raise a parse error if the attribute value is |
138 |
|
|
omitted, in XML mode. Raise a parse error if the attribute value |
139 |
|
|
is not quoted, in XML mode. Raise a parse error if "<" character |
140 |
|
|
is found in a quoted attribute value, in XML mode. |
141 |
|
|
|
142 |
|
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
|
144 |
wakaba |
1.19 |
* Tokenizer.pm.src: XML tag name start character support for end |
145 |
|
|
tags. Support for the short end tag syntax of XML5. Raise a |
146 |
|
|
parse erorr for a lowercase <!doctype> in XML. |
147 |
|
|
|
148 |
|
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
149 |
|
|
|
150 |
|
|
* Tokenizer.pm.src: XML tag name start character support for start |
151 |
wakaba |
1.18 |
tags. |
152 |
|
|
|
153 |
|
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
154 |
|
|
|
155 |
wakaba |
1.17 |
* Tokenizer.pm.src: Support for XML processing instructions. |
156 |
|
|
|
157 |
|
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
|
159 |
wakaba |
1.16 |
* Tokenizer.pm.src: Mark CHARACTER_TOKEN with character reference |
160 |
|
|
as such, for the support of XML parse error. |
161 |
|
|
|
162 |
wakaba |
1.8 |
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
163 |
|
|
|
164 |
wakaba |
1.15 |
* Tokenizer.pm.src: Parse error if CDATA section is not closed or |
165 |
|
|
is placed outside of the root element. |
166 |
|
|
|
167 |
|
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
168 |
|
|
|
169 |
wakaba |
1.14 |
* Tokenizer.pm.src: Raise a parse error for XML "]]>" other than |
170 |
|
|
CDATA section end. |
171 |
|
|
|
172 |
|
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
173 |
|
|
|
174 |
wakaba |
1.13 |
* Tokenizer.pm.src: Support for case-insensitive XML attribute |
175 |
|
|
names. |
176 |
|
|
|
177 |
|
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
178 |
|
|
|
179 |
wakaba |
1.12 |
* Dumper.pm: Typo fixed. |
180 |
|
|
|
181 |
|
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
182 |
|
|
|
183 |
wakaba |
1.11 |
* Dumper.pm: New module. |
184 |
|
|
|
185 |
|
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
186 |
|
|
|
187 |
wakaba |
1.10 |
* Tokenizer.pm.src: Introduced "in_xml" flag for CDATA section |
188 |
|
|
support in XML. |
189 |
|
|
|
190 |
|
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
191 |
|
|
|
192 |
wakaba |
1.9 |
* Tokenizer.pm.src: Make *_TOKEN (token type constants) |
193 |
|
|
exportable. New token types, PI_TOKEN for XML and ABORT_TOKEN for |
194 |
|
|
document.write() or incremental parsing, are added for future |
195 |
|
|
extensions. |
196 |
|
|
|
197 |
|
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
|
199 |
wakaba |
1.8 |
* Tokenizer.pm.src: New file. |
200 |
|
|
|
201 |
wakaba |
1.5 |
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
202 |
|
|
|
203 |
wakaba |
1.7 |
* Serializer.pm (get_inner_html): Don't escape |"| in |
204 |
|
|
content (HTML5 revision 1592). |
205 |
|
|
|
206 |
|
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
207 |
|
|
|
208 |
wakaba |
1.5 |
* Serializer.pm (get_inner_html): Append "\n" after the start |
209 |
wakaba |
1.6 |
tag of a |listing| element (HTML5 revision 1675). |
210 |
wakaba |
1.5 |
|
211 |
wakaba |
1.4 |
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
212 |
|
|
|
213 |
|
|
* Serializer.pm (get_inner_html): Typo fixed. |
214 |
|
|
|
215 |
wakaba |
1.3 |
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
216 |
|
|
|
217 |
|
|
* Serializer.pm (get_inner_html): Escape NBSP (HTML5 revision |
218 |
|
|
1277). |
219 |
|
|
|
220 |
wakaba |
1.2 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
221 |
|
|
|
222 |
|
|
* Serializer.pod: New file. |
223 |
|
|
|
224 |
|
|
* Makefile: New file. |
225 |
|
|
|
226 |
|
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
227 |
|
|
|
228 |
|
|
* Serializer.pm: New module (split from ../HTML.pm.src). |
229 |
|
|
|
230 |
|
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
231 |
|
|
|
232 |
|
|
* ChangeLog: New file. |
233 |
|
|
|
234 |
|
|
|