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