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