1 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: The ->[1] property of stack entries are now |
4 |
|
replaced by constants representing element category. |
5 |
|
|
6 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src: Don't use local name stored in stack (i.e. ->[1]) |
9 |
|
for error reporting. (This is a preparation for using constant |
10 |
|
value for ->[1].) |
11 |
|
|
12 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
14 |
|
* RDFXML.pm: Typo fixed. |
15 |
|
|
16 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
18 |
|
* ContentChecker.pm: |fact_level| is now treated |
19 |
|
as same as |must_level|, i.e. level = |m|. |
20 |
|
(check_element): Make list of URIs in the DOM. |
21 |
|
|
22 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* RDFXML.pm: Language accessor implemented. |
25 |
|
Local (null-namespace) attribute support. |
26 |
|
|
27 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* RDFXML.pm: Factored out ID checking code. |
30 |
|
|
31 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
33 |
|
* RDFXML.pm: TODO items noted. Validation of ID |
34 |
|
and URI attributes is implemented. Warn if unknown |
35 |
|
value is used in rdf:parseType="" attribute. |
36 |
|
|
37 |
|
* URIChecker.pm (check_rdf_uri_reference): New function. |
38 |
|
|
39 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
40 |
|
|
41 |
|
* RDFXML.pm: bnodeid implemented. Relative references |
42 |
|
are now resolved. |
43 |
|
|
44 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
45 |
|
|
46 |
|
* ContentChecker.pm: RDF reification implemented. |
47 |
|
|
48 |
|
* RDFXML.pm: undef vs false bug fixed. |
49 |
|
Reification implemented. |
50 |
|
|
51 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* RDFXML.pm: s/id/ID/ for attribute name. |
54 |
|
The |node| arguments are added for |ontriple| calls. |
55 |
|
Too many "attribute not allowed" errors were raised. |
56 |
|
|
57 |
|
* ContentChecker.pm: Initial experimental support for rdf:RDF |
58 |
|
element. |
59 |
|
|
60 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* RDFXML.pm: New module. |
63 |
|
|
64 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* HTML.pm.src (set_inner_html): Line/column number |
67 |
|
code was old one yet. |
68 |
|
|
69 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* HTML.pm.src: Better line/column reporting for "duplicate attribute" |
72 |
|
errors. Line/column markings for DOCTYPE, comment, and |
73 |
|
character tokens are reintroduced; otherwise, |
74 |
|
error location for "not HTML5" error and errors |
75 |
|
for implied elements are not attached. |
76 |
|
|
77 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
78 |
|
|
79 |
|
* HTML.pm.src: Set line/column numbers to attributes. |
80 |
|
|
81 |
|
* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added. |
82 |
|
(value): Setter implemented. |
83 |
|
|
84 |
|
* mkhtmlparser.pl: Set line/column numbers to Attr nodes. |
85 |
|
|
86 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
87 |
|
|
88 |
|
* HTML.pm.src: Unused line/column markings are removed. |
89 |
|
|
90 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* HTML.pm.src (_get_next_token): Remove |first_start_tag| |
93 |
|
flag, which is no longer used. |
94 |
|
|
95 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
96 |
|
|
97 |
|
* HTML.pm.src: Set line/column information to element nodes. |
98 |
|
|
99 |
|
* mkhtmlparser.pl (!!!create-element, !!!insert-element, |
100 |
|
and !!!insert-element-t): Set line/column information to |
101 |
|
element nodes. |
102 |
|
|
103 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* HTML.pm.src (_get_next_token): The first "<" character |
106 |
|
in "<?", "<>", or "</>" should be the error point. |
107 |
|
|
108 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
110 |
|
* HTML.pm.src: Some more fixes on error position reporting. |
111 |
|
|
112 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
113 |
|
|
114 |
|
* HTML.pm.src: Token-level precious error reporting. |
115 |
|
|
116 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
|
* HTML.pm.src: Preparation for more precious error point |
119 |
|
reporting. |
120 |
|
|
121 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
122 |
|
|
123 |
|
* HTML.pm.src: Error type revised. |
124 |
|
|
125 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
126 |
|
|
127 |
|
* HTML.pm.src: Similar codes are merged together, again. |
128 |
|
|
129 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
130 |
|
|
131 |
|
* HTML.pm.src: Similar codes are merged together. |
132 |
|
|
133 |
|
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
134 |
|
|
135 |
|
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
136 |
|
|
137 |
|
* HTML.pm.src: Code refined. |
138 |
|
|
139 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
140 |
|
|
141 |
|
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
142 |
|
revision 1348). Note that I really don't know this makes |
143 |
|
any difference in the black-box behavior of the parser. |
144 |
|
|
145 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
146 |
|
|
147 |
|
* HTML.pm.src: New end-of-file token implementation (HTML5 |
148 |
|
revision 1348). |
149 |
|
|
150 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
151 |
|
|
152 |
|
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
153 |
|
|
154 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
155 |
|
|
156 |
|
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
157 |
|
|
158 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
159 |
|
|
160 |
|
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
161 |
|
mode and support for the "in select in table" insertion mode (HTML5 |
162 |
|
revision 1342). |
163 |
|
|
164 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
165 |
|
|
166 |
|
* HTML.pm.src: No foster parenting for <script> and <script> |
167 |
|
in non-tainted <table>s (HTML5 revision 1336). |
168 |
|
|
169 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
170 |
|
|
171 |
|
* HTML.pm.src: Ignore white space characters between <html> |
172 |
|
and <head> (HTML5 revision 1332). |
173 |
|
|
174 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
175 |
|
|
176 |
|
* HTML.pm.src: Treat <input type=hidden> as if it were a |
177 |
|
white space (HTML5 revision 1331). |
178 |
|
|
179 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
180 |
|
|
181 |
|
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
182 |
|
element (HTML5 revision 1330). |
183 |
|
|
184 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
185 |
|
|
186 |
|
* HTML.pm.src: <title> is always appended to the current |
187 |
|
element (HTML5 revision 1328). |
188 |
|
|
189 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
190 |
|
|
191 |
|
* HTML.pm.src: White space in tainted tables are moved |
192 |
|
into foster parents (HTML5 revision 1326). |
193 |
|
|
194 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
195 |
|
|
196 |
|
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
197 |
|
revision 1321). |
198 |
|
|
199 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
200 |
|
|
201 |
|
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
202 |
|
the spec (HTML5 revision 1320). Note that we finally complete |
203 |
|
all of HTML5 revision 1320 changes. |
204 |
|
|
205 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
206 |
|
|
207 |
|
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
208 |
|
tags (HTML5 revision 1320). |
209 |
|
|
210 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
211 |
|
|
212 |
|
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
213 |
|
|
214 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
215 |
|
|
216 |
|
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
217 |
|
could not be reached so that it is now removed (HTML5 revision |
218 |
|
1320). |
219 |
|
|
220 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
221 |
|
|
222 |
|
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
223 |
|
to align with new spec text (HTML5 revision 1320). |
224 |
|
|
225 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
226 |
|
|
227 |
|
* HTML.pm.src: Remove strange |if| condition; however, it should |
228 |
|
have had no harm in theory. |
229 |
|
|
230 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
231 |
|
|
232 |
|
* HTML.pm.src (_tree_construction_main): '</p>' in body |
233 |
|
case is split from other end tags for the preparation |
234 |
|
of implementing HTML revision 1320. |
235 |
|
|
236 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
237 |
|
|
238 |
|
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
239 |
|
revision 1320). |
240 |
|
|
241 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
242 |
|
|
243 |
|
* HTML.pm.src (_tree_construction_main): Merge rules for "h1" |
244 |
|
and "div" (HTML5 revision 1318). Add comments to where |
245 |
|
|form| pointer association codes should be inserted (HTML5 revision |
246 |
|
1319). |
247 |
|
|
248 |
|
2008-03-06 Wakaba <wakaba@suika.fam.cx> |
249 |
|
|
250 |
|
* HTML.pm.src: <html> treatement refined (HTML5 revision 1314). |
251 |
|
|
252 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
253 |
|
|
254 |
|
* HTML.pm.src: Since the case t268 should never be reached (no |
255 |
|
other token type, there are), it is replaced by a |die| statement. |
256 |
|
|
257 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
258 |
|
|
259 |
|
* HTML.pm.src: Typo fixed. |
260 |
|
|
261 |
|
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
262 |
|
|
263 |
|
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
264 |
|
doctypes were not uppercased for comparison. |
265 |
|
|
266 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
267 |
|
|
268 |
|
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
269 |
|
are added. |
270 |
|
|
271 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
272 |
|
|
273 |
|
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
274 |
|
are set. Cases that are unlikely reached are noted as so. |
275 |
|
|
276 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
277 |
|
|
278 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
279 |
|
|
280 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
281 |
|
|
282 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
283 |
|
|
284 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
285 |
|
for simplicity. |
286 |
|
|
287 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
288 |
|
|
289 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
290 |
|
revision 1307). |
291 |
|
|
292 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
293 |
|
|
294 |
|
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
295 |
|
is set are changed (HTML5 revision 1305). |
296 |
|
|
297 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
298 |
|
|
299 |
|
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
300 |
|
1292). Entities are not parsed in comment-like part in RCDATA |
301 |
|
elements (HTML5 revision 1294). Allow bare & at the end |
302 |
|
of attribute value literals (HTML5 revision 1296). More |
303 |
|
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
304 |
|
between attributes and ban attribute names or unquoted |
305 |
|
attribute values containing single or double quotes (HTML5 |
306 |
|
revision 1303). |
307 |
|
|
308 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
309 |
|
|
310 |
|
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
311 |
|
and related errors unless it is an HTML document (though the spec |
312 |
|
is unclear on whether it is applied to XHTML document). |
313 |
|
|
314 |
|
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
315 |
|
are added. |
316 |
|
|
317 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
318 |
|
|
319 |
|
* HTML.pm.src: s/local_name/manakai_local_name/g. |
320 |
|
|
321 |
|
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
322 |
|
|
323 |
|
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
324 |
|
|
325 |
|
* HTML.pm.src: |charset| in |content| attribute is |
326 |
|
case-insensitive (HTML5 revision 1270). |
327 |
|
|
328 |
|
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
329 |
|
|
330 |
|
* ContentChecker.pm: New status constants are added. |
331 |
|
($ElementDefault): |status| added. |
332 |
|
(check_element): Err for non-standard or deprecated elements. |
333 |
|
(_attr_status_info): For non-standard or deprecated attributes. |
334 |
|
|
335 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
336 |
|
|
337 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
338 |
|
|
339 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
340 |
|
|
341 |
|
* ContentChecker.pm (check_element): Element standardized |
342 |
|
status information is now dispatched. |
343 |
|
|
344 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
345 |
|
|
346 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
347 |
|
problem by adding some more arguments. |
348 |
|
|
349 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
350 |
|
|
351 |
|
* ContentChecker.pm (check_element): Use context of |
352 |
|
container-for-the-purpose-of-content-model element (not transparent |
353 |
|
element) for |check_child_element| calling and significant |
354 |
|
text flag marking. This reintroduces |<del>|-and-significant |
355 |
|
problem again. |
356 |
|
|
357 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
358 |
|
|
359 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
360 |
|
elements ignored for the purpose of phase changes in |
361 |
|
content model checking. |
362 |
|
|
363 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
364 |
|
|
365 |
|
* ContentChecker.pm (check_element): In-element state |
366 |
|
was not properly managed for transparent cases. |
367 |
|
|
368 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
369 |
|
|
370 |
|
* ContentChecker.pm (check_element): Support for |video| |
371 |
|
and |audio| as semi-transparent elements. |
372 |
|
|
373 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
374 |
|
|
375 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
376 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
377 |
|
Support for |html:object| as a semi-transparent element. |
378 |
|
|
379 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
380 |
|
|
381 |
|
* ContentChecker.pm (check_element): The way to traverse |
382 |
|
the tree is entirely revised to make it easier to track |
383 |
|
the state of ancestors/descendants. As a result of this |
384 |
|
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
385 |
|
support for content model checking for HTML elements |figure|, |
386 |
|
|object|, |video|, and |audio| and checking for XML elements (and |
387 |
|
some XMLNS checkings) are dropped for now. They will be |
388 |
|
reimplemented in due cource. |
389 |
|
|
390 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
391 |
|
|
392 |
|
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
393 |
|
token (HTML5 revision 1225). |
394 |
|
|
395 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
396 |
|
|
397 |
|
* ContentChecker.pm ({unsupported_level}): New value. |
398 |
|
|
399 |
|
* HTML.pm.src: Save whether |meta| |content| attribute |
400 |
|
contains character references or not. |
401 |
|
|
402 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
403 |
|
|
404 |
|
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
405 |
|
imlement significant content checking for contents |
406 |
|
with |del| elements. |
407 |
|
|
408 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
409 |
|
|
410 |
|
* ContenteChecker.pm ($HTMLTransparentElements): More |
411 |
|
elements are added. |
412 |
|
(_get_children): HTML |object| elements are now semi-transparent. |
413 |
|
|
414 |
|
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
415 |
|
|
416 |
|
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
417 |
|
|
418 |
|
* CacheManifest.pm: HTML5 revision 1211 implemented. |
419 |
|
|
420 |
|
* CacheManifest.pod: Updated. |
421 |
|
|
422 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
423 |
|
|
424 |
|
* ContentChecker.pm (check_document, check_element): Support |
425 |
|
for second argument ($onsubdoc). |
426 |
|
(_get_css_parser): Removed (now it is part of WDCC). |
427 |
|
|
428 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
429 |
|
|
430 |
|
* ContentChecker.pm (_get_css_parser): New. |
431 |
|
|
432 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
433 |
|
|
434 |
|
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
435 |
|
for checking had been used. |
436 |
|
|
437 |
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
438 |
|
|
439 |
* ContentChecker.pm (check_element): New todo item type |descendant|. |
* ContentChecker.pm (check_element): New todo item type |descendant|. |