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