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