1 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* XMLParser.dis: Set |allDeclarationsProcessed| |
4 |
|
attribute of the |Document| node. Don't process entity |
5 |
|
and attribute definition list declarations after |
6 |
|
unread parameter entity reference. Warns if an attribute definition is |
7 |
|
ignored (|xp:warning-attribute-definition-ignored|). Set |
8 |
|
flags whether predefined entities are declared or not. |
9 |
|
WFC error |xp:wf-pes-in-internal-subset| is implemented. |
10 |
|
|
11 |
|
2006-02-15 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error |
14 |
|
if a predefined entity declaration references an external entity. |
15 |
|
Issues |xp:error-malformed-predefined-entity| error if |
16 |
|
a predefined entity declaration defines different thing than |
17 |
|
one as in XML specification. |
18 |
|
Issies |xp:warning-entity-declaration-ignored| warning if |
19 |
|
more than one entity declarations for an entity is found. |
20 |
|
(WFErrDef): Now all well-formedness errors are marked |
21 |
|
as |SEVERITY_FATAL_ERROR|. |
22 |
|
|
23 |
|
* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates |
24 |
|
predefined entity declarations. |
25 |
|
(DocumentXDoctype.createNotation): New method. |
26 |
|
(DocumentTypeDefinition.notations): New attribute. |
27 |
|
(DocumentTypeDefinition.getNotationNode): New method. |
28 |
|
(DocumentTypeDefinition.setNotationNode): New method. |
29 |
|
(newNotationForTest): New code fragment. |
30 |
|
|
31 |
|
* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed. |
32 |
|
(c:ManakaiDOMNotationMap): New class. |
33 |
|
(c:ManakaiDOMNotationMapArray): New class. |
34 |
|
(Document.allDeclarationsProcessed): New attribute. |
35 |
|
|
36 |
|
* DOMXML.dis (DocumentType.notations): Implemented. |
37 |
|
(Notation): Revised. |
38 |
|
(Notation.ownerDocumentTypeDefinition): New attribute. |
39 |
|
|
40 |
|
2006-02-14 Wakaba <wakaba@suika.fam.cx> |
41 |
|
|
42 |
|
* XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion| |
43 |
|
WFC errors are implemented. Reports a |xp:wf-syntax-error| |
44 |
|
if a parameter entity declaration contains |NDATA| keyword. |
45 |
|
(setEmptyEntityState): Set |name| attribute. |
46 |
|
|
47 |
|
* Tree.dis (createEntityReference): Don't enter into inifinite |
48 |
|
loop even if entity replacement tree contains recursive |
49 |
|
reference directly or indirectly. |
50 |
|
|
51 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared| |
54 |
|
WFC error is implemented. |
55 |
|
|
56 |
|
2006-02-13 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* XMLParser.dis: Set |cfg:clone-entity-reference-subtree| |
59 |
|
configuration parameter |true| during tree construction |
60 |
|
to ensure default attribute value is cloned as is |
61 |
|
including entity reference subtree. |
62 |
|
|
63 |
|
* Tree.dis (cfg:clone-entity-reference-subtree): New configuration |
64 |
|
parameter. |
65 |
|
(Node.cloneNode): The |cfg:clone-entity-reference-subtree| |
66 |
|
configuration parameter support is added. |
67 |
|
|
68 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
69 |
|
|
70 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
71 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
72 |
|
content before constructing |Entity| replacement tree. |
73 |
|
The |xp:wf-entity-declared| well-formedness constraint |
74 |
|
for entity references in attribute value literal is implemented. |
75 |
|
|
76 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
78 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
79 |
|
constaraint for entity references that appear in |
80 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
81 |
|
attribute. |
82 |
|
(getEmptyEntityState): New code. |
83 |
|
|
84 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
85 |
|
definition is removed. |
86 |
|
|
87 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
88 |
|
(EntityReference.isExpanded): Setter is added. |
89 |
|
|
90 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
93 |
|
and |xp:wf-no-external-entity-references| well-formedness |
94 |
|
constraints are implemented. |
95 |
|
|
96 |
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
97 |
|
|
98 |
* XMLParser.dis ($self->{has_error}): Removed. |
* XMLParser.dis ($self->{has_error}): Removed. |