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