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