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