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