1 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Dumper.pm: Dump text content of Entity nodes. |
4 |
|
|
5 |
|
* Tokenizer.pm.src: Support for <!ENTITY ... NDATA>. |
6 |
|
|
7 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
8 |
|
|
9 |
|
* Tokenizer.pm.src (_get_next_token): Make keywords 'ENTITY', |
10 |
|
'ELEMENT', 'ATTLIST', and 'NOTATION' ASCII case-insensitive. |
11 |
|
|
12 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
14 |
|
* Tokenizer.pm.src: Modifies PUBLIC/SYSTEM identifier tokenizer |
15 |
|
states such that <!ENTITY> and <!NOTATION> can be tokenized by |
16 |
|
those states as well. |
17 |
|
(BOGUS_MD_STATE): A new state; used for bogus markup declarations, |
18 |
|
in favor of BOGUS_COMMENT_STATE. |
19 |
|
|
20 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
21 |
|
|
22 |
|
* Tokenizer.pm.src: <!ATTLIST> in the internal subset of an XML |
23 |
|
document, is now fully implemented. |
24 |
|
|
25 |
|
* Dumper.pm (dumptree): Output allowed tokens and default value |
26 |
|
always. |
27 |
|
|
28 |
|
2008-10-17 Wakaba <wakaba@suika.fam.cx> |
29 |
|
|
30 |
|
* Tokenizer.pm.src: New token types AtTLIST_TOKEN, ELEMENT_TOKEN, |
31 |
|
GENERAL_ENTITY_TOKEN, PARAMETER_ENTITY_TOKEN, and NOTATION_TOKEN |
32 |
|
are added. New intertion modes for markup declarations are added. |
33 |
|
|
34 |
|
2008-10-16 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* Tokenizer.pm.src: New token type END_OF_DOCTYPE_TOKEN added. |
37 |
|
New states DOCTYPE_TAG_STATE and |
38 |
|
BOGUS_DOCTYPE_INTERNAL_SUBSET_AFTER_STATE are added. (Bogus |
39 |
|
string after the internal subset, which was handled by the state |
40 |
|
BOGUS_DOCTYPE_STATE, are now handled by the new state.) Support |
41 |
|
for comments, bogus comments, and processing instructions in the |
42 |
|
internal subset. If there is the internal subset, then emit the |
43 |
|
doctype token before the internal subset (with its |
44 |
|
$token->{has_internal_subset} flag set) and an |
45 |
|
END_OF_DOCTYPE_TOKEN after the internal subset. |
46 |
|
|
47 |
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
49 |
* Tokenizer.pm.src: $self->{s_kwd} for non-DATA_STATE states are |
* Tokenizer.pm.src: $self->{s_kwd} for non-DATA_STATE states are |