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