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