1 |
|
2008-10-17 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Tokenizer.pm.src: New token types AtTLIST_TOKEN, ELEMENT_TOKEN, |
4 |
|
GENERAL_ENTITY_TOKEN, PARAMETER_ENTITY_TOKEN, and NOTATION_TOKEN |
5 |
|
are added. New intertion modes for markup declarations are added. |
6 |
|
|
7 |
|
2008-10-16 Wakaba <wakaba@suika.fam.cx> |
8 |
|
|
9 |
|
* Tokenizer.pm.src: New token type END_OF_DOCTYPE_TOKEN added. |
10 |
|
New states DOCTYPE_TAG_STATE and |
11 |
|
BOGUS_DOCTYPE_INTERNAL_SUBSET_AFTER_STATE are added. (Bogus |
12 |
|
string after the internal subset, which was handled by the state |
13 |
|
BOGUS_DOCTYPE_STATE, are now handled by the new state.) Support |
14 |
|
for comments, bogus comments, and processing instructions in the |
15 |
|
internal subset. If there is the internal subset, then emit the |
16 |
|
doctype token before the internal subset (with its |
17 |
|
$token->{has_internal_subset} flag set) and an |
18 |
|
END_OF_DOCTYPE_TOKEN after the internal subset. |
19 |
|
|
20 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
21 |
|
|
22 |
|
* Tokenizer.pm.src: $self->{s_kwd} for non-DATA_STATE states are |
23 |
|
renamed as $self->{kwd} to avoid confliction. Don't raise |
24 |
|
case-sensitivity error for the keyword "DOCTYPE" in HTML mode. |
25 |
|
Support for internal subsets (internal subset itself only; no |
26 |
|
declaration in them is supported yet). Raise a parse error for |
27 |
|
non-uppercase keywords "PUBLIC" and "SYSTEM" in XML mode. Raise a |
28 |
|
parse error if no system identifier is specified for a DOCTYPE |
29 |
|
declaration with a public identifier. Don't close the DOCTYPE |
30 |
|
declaration by a ">" character in the system declaration in XML |
31 |
|
mode. |
32 |
|
|
33 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
34 |
|
|
35 |
|
* Tokenizer.pm.src: Set index attribute to each attribute token, |
36 |
|
for ignoring namespaced duplicate attribute at the XML namespace |
37 |
|
parser layer. Raise a parse error if the attribute value is |
38 |
|
omitted, in XML mode. Raise a parse error if the attribute value |
39 |
|
is not quoted, in XML mode. Raise a parse error if "<" character |
40 |
|
is found in a quoted attribute value, in XML mode. |
41 |
|
|
42 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* Tokenizer.pm.src: XML tag name start character support for end |
45 |
|
tags. Support for the short end tag syntax of XML5. Raise a |
46 |
|
parse erorr for a lowercase <!doctype> in XML. |
47 |
|
|
48 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
49 |
|
|
50 |
|
* Tokenizer.pm.src: XML tag name start character support for start |
51 |
|
tags. |
52 |
|
|
53 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* Tokenizer.pm.src: Support for XML processing instructions. |
56 |
|
|
57 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
58 |
|
|
59 |
|
* Tokenizer.pm.src: Mark CHARACTER_TOKEN with character reference |
60 |
|
as such, for the support of XML parse error. |
61 |
|
|
62 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
63 |
|
|
64 |
|
* Tokenizer.pm.src: Parse error if CDATA section is not closed or |
65 |
|
is placed outside of the root element. |
66 |
|
|
67 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
68 |
|
|
69 |
|
* Tokenizer.pm.src: Raise a parse error for XML "]]>" other than |
70 |
|
CDATA section end. |
71 |
|
|
72 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
73 |
|
|
74 |
|
* Tokenizer.pm.src: Support for case-insensitive XML attribute |
75 |
|
names. |
76 |
|
|
77 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
78 |
|
|
79 |
|
* Dumper.pm: Typo fixed. |
80 |
|
|
81 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
82 |
|
|
83 |
|
* Dumper.pm: New module. |
84 |
|
|
85 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
86 |
|
|
87 |
|
* Tokenizer.pm.src: Introduced "in_xml" flag for CDATA section |
88 |
|
support in XML. |
89 |
|
|
90 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* Tokenizer.pm.src: Make *_TOKEN (token type constants) |
93 |
|
exportable. New token types, PI_TOKEN for XML and ABORT_TOKEN for |
94 |
|
document.write() or incremental parsing, are added for future |
95 |
|
extensions. |
96 |
|
|
97 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
98 |
|
|
99 |
|
* Tokenizer.pm.src: New file. |
100 |
|
|
101 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
102 |
|
|
103 |
|
* Serializer.pm (get_inner_html): Don't escape |"| in |
104 |
|
content (HTML5 revision 1592). |
105 |
|
|
106 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
108 |
|
* Serializer.pm (get_inner_html): Append "\n" after the start |
109 |
|
tag of a |listing| element (HTML5 revision 1675). |
110 |
|
|
111 |
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
112 |
|
|
113 |
* Serializer.pm (get_inner_html): Typo fixed. |
* Serializer.pm (get_inner_html): Typo fixed. |