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