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