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