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