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