1 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
4 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
5 |
|
if a parameter entity declaration contains |NDATA| keyword. |
6 |
|
(setEmptyEntityState): Set |name| attribute. |
7 |
|
|
8 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
9 |
|
loop even if entity replacement tree contains recursive |
10 |
|
reference directly or indirectly. |
11 |
|
|
12 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
14 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
15 |
|
WFC error is implemented. |
16 |
|
|
17 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
20 |
|
configuration parameter |true| during tree construction |
21 |
|
to ensure default attribute value is cloned as is |
22 |
|
including entity reference subtree. |
23 |
|
|
24 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
25 |
|
parameter. |
26 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
27 |
|
configuration parameter support is added. |
28 |
|
|
29 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
32 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
33 |
|
content before constructing |Entity| replacement tree. |
34 |
|
The |xp:wf-entity-declared| well-formedness constraint |
35 |
|
for entity references in attribute value literal is implemented. |
36 |
|
|
37 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
38 |
|
|
39 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
40 |
|
constaraint for entity references that appear in |
41 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
42 |
|
attribute. |
43 |
|
(getEmptyEntityState): New code. |
44 |
|
|
45 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
46 |
|
definition is removed. |
47 |
|
|
48 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
49 |
|
(EntityReference.isExpanded): Setter is added. |
50 |
|
|
51 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
54 |
|
and |xp:wf-no-external-entity-references| well-formedness |
55 |
|
constraints are implemented. |
56 |
|
|
57 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
58 |
|
|
59 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
60 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
61 |
|
errors (including well-formedness constraint errors) are |
62 |
|
traped by the error handler. |
63 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
64 |
|
attribute of the node. Reports an error if |publidLiteral| |
65 |
|
contains a non-|pubidChar|. |
66 |
|
|
67 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
68 |
|
version |3.0|). |
69 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
70 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
71 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
72 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
73 |
|
interface (except unimplemented |notations| and |internalSubset| |
74 |
|
attributes). |
75 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
76 |
|
for compatibility with |x:DocumentType| interface. |
77 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
78 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
79 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
80 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
81 |
|
(DocumentTypeDeclaration): New interface. |
82 |
|
|
83 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
84 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
85 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
86 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
87 |
|
instead of obsolete |DocumentType.newObject|. |
88 |
|
|
89 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
90 |
|
DocumentType.publicId, DocumentType.systemId, |
91 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
92 |
|
as clones of similar attributes or methods |
93 |
|
in |MDOM:XDoctype| module. |
94 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
95 |
|
instead). |
96 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
97 |
|
is used). |
98 |
|
|
99 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
102 |
|
fatal error. |
103 |
|
|
104 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
105 |
|
|
106 |
|
* XMLParser.dis (CommentDeclaration): |STRING| is now |
107 |
|
defined as a |?default-token|. |
108 |
|
(XMLTests): Tests for |Char - RestrictedChar| matchness, |
109 |
|
comment declarations, cdata sections, and |MSE| in |content| |
110 |
|
added. |
111 |
|
(XMLTests/PerlDef): Bug fixed: |pop| -> |shift|. |
112 |
|
(get-location-from-token): |$token->{location_d}| |
113 |
|
for |?default-token| column counting support added. |
114 |
|
|
115 |
|
* DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property. |
116 |
|
|
117 |
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
118 |
|
|
119 |
* Tree.dis (createProcessingInstruction): Don't |
* Tree.dis (createProcessingInstruction): Don't |