1 |
|
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 |
|
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 |
|
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 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
29 |
|
|
30 |
|
* 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 |
|
* 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 |
|
* 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 |
|
tags. |
60 |
|
|
61 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
63 |
|
* Tokenizer.pm.src: Support for XML processing instructions. |
64 |
|
|
65 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
66 |
|
|
67 |
|
* Tokenizer.pm.src: Mark CHARACTER_TOKEN with character reference |
68 |
|
as such, for the support of XML parse error. |
69 |
|
|
70 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* 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 |
|
* 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 |
|
* Tokenizer.pm.src: Support for case-insensitive XML attribute |
83 |
|
names. |
84 |
|
|
85 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
86 |
|
|
87 |
|
* Dumper.pm: Typo fixed. |
88 |
|
|
89 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
91 |
|
* Dumper.pm: New module. |
92 |
|
|
93 |
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
94 |
|
|
95 |
* Tokenizer.pm.src: Introduced "in_xml" flag for CDATA section |
* Tokenizer.pm.src: Introduced "in_xml" flag for CDATA section |