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