1 |
|
2008-11-07 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Dumper.pm (dumptree): Support for namespace abbreviation for |
4 |
|
SWML namespaces. |
5 |
|
|
6 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* Tokenizer.pm.src: Normalize white space characters in attribute |
9 |
|
value literals in XML documents. Don't apply character reference |
10 |
|
mapping table for non-NULL non-surrogate code points. |
11 |
|
|
12 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
14 |
|
* Tokenizer.pm.src: Set the "stop_processing" flag true when a |
15 |
|
parameter entity occurs in a standalone="no" document. |
16 |
|
|
17 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* Tokenizer.pm.src: Column number counting fixed. |
20 |
|
|
21 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
23 |
|
* Tokenizer.pm.src: Raise a parse error for '&' that does not |
24 |
|
introduce a reference in XML. Support for non-ASCII entity |
25 |
|
reference names. |
26 |
|
|
27 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* Tokenizer.pm.src: Make uppercase "&#X" in XML a parse error. |
30 |
|
Remove the limitation of entity name length. Enable replacement |
31 |
|
of text-only general entities. Raise a parse error for an |
32 |
|
unparsed entity reference. Raise a parse error for a general |
33 |
|
entity reference to an undefined entity. |
34 |
|
|
35 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
36 |
|
|
37 |
|
* Tokenizer.pm.src: Support for <!ELEMENT>. |
38 |
|
(AFTER_NOTATION_NAME_STATE): Renamed as |AFTER_MD_DEF_STATE| (i.e. |
39 |
|
after markup declaration definition state). |
40 |
|
|
41 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
42 |
|
|
43 |
|
* Tokenizer.pm.src: Support for EntityValue. |
44 |
|
|
45 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* Dumper.pm: Dump text content of Entity nodes. |
48 |
|
|
49 |
|
* Tokenizer.pm.src: Support for <!ENTITY ... NDATA>. |
50 |
|
|
51 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* Tokenizer.pm.src (_get_next_token): Make keywords 'ENTITY', |
54 |
|
'ELEMENT', 'ATTLIST', and 'NOTATION' ASCII case-insensitive. |
55 |
|
|
56 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* Tokenizer.pm.src: Modifies PUBLIC/SYSTEM identifier tokenizer |
59 |
|
states such that <!ENTITY> and <!NOTATION> can be tokenized by |
60 |
|
those states as well. |
61 |
|
(BOGUS_MD_STATE): A new state; used for bogus markup declarations, |
62 |
|
in favor of BOGUS_COMMENT_STATE. |
63 |
|
|
64 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* Tokenizer.pm.src: <!ATTLIST> in the internal subset of an XML |
67 |
|
document, is now fully implemented. |
68 |
|
|
69 |
|
* Dumper.pm (dumptree): Output allowed tokens and default value |
70 |
|
always. |
71 |
|
|
72 |
|
2008-10-17 Wakaba <wakaba@suika.fam.cx> |
73 |
|
|
74 |
|
* Tokenizer.pm.src: New token types AtTLIST_TOKEN, ELEMENT_TOKEN, |
75 |
|
GENERAL_ENTITY_TOKEN, PARAMETER_ENTITY_TOKEN, and NOTATION_TOKEN |
76 |
|
are added. New intertion modes for markup declarations are added. |
77 |
|
|
78 |
|
2008-10-16 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
80 |
|
* Tokenizer.pm.src: New token type END_OF_DOCTYPE_TOKEN added. |
81 |
|
New states DOCTYPE_TAG_STATE and |
82 |
|
BOGUS_DOCTYPE_INTERNAL_SUBSET_AFTER_STATE are added. (Bogus |
83 |
|
string after the internal subset, which was handled by the state |
84 |
|
BOGUS_DOCTYPE_STATE, are now handled by the new state.) Support |
85 |
|
for comments, bogus comments, and processing instructions in the |
86 |
|
internal subset. If there is the internal subset, then emit the |
87 |
|
doctype token before the internal subset (with its |
88 |
|
$token->{has_internal_subset} flag set) and an |
89 |
|
END_OF_DOCTYPE_TOKEN after the internal subset. |
90 |
|
|
91 |
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
92 |
|
|
93 |
* Tokenizer.pm.src: $self->{s_kwd} for non-DATA_STATE states are |
* Tokenizer.pm.src: $self->{s_kwd} for non-DATA_STATE states are |