1 |
|
2006-02-12 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* XMLParser.dis (parseString): General |Entity| replacement |
4 |
|
tree is not constructed because of a typo. Clears |EntityReference| |
5 |
|
content before constructing |Entity| replacement tree. |
6 |
|
The |xp:wf-entity-declared| well-formedness constraint |
7 |
|
for entity references in attribute value literal is implemented. |
8 |
|
|
9 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
10 |
|
|
11 |
|
* XMLParser.dis: |xp:wf-entity-declared| well-formedness |
12 |
|
constaraint for entity references that appear in |
13 |
|
content of elements is implemented. Set |EntityReference.isExpanded| |
14 |
|
attribute. |
15 |
|
(getEmptyEntityState): New code. |
16 |
|
|
17 |
|
* XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate |
18 |
|
definition is removed. |
19 |
|
|
20 |
|
* DOMXML.dis (Entity.isExternallyDeclared): New attribute. |
21 |
|
(EntityReference.isExpanded): Setter is added. |
22 |
|
|
23 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
25 |
|
* XMLParser.dis: |xp:wf-no-lt-in-attribute-values| |
26 |
|
and |xp:wf-no-external-entity-references| well-formedness |
27 |
|
constraints are implemented. |
28 |
|
|
29 |
|
2006-02-11 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* XMLParser.dis ($self->{has_error}): Removed. |
32 |
|
(parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal |
33 |
|
errors (including well-formedness constraint errors) are |
34 |
|
traped by the error handler. |
35 |
|
(PubidLiteral, SystemLiteral): Set |publicId| or |systemId| |
36 |
|
attribute of the node. Reports an error if |publidLiteral| |
37 |
|
contains a non-|pubidChar|. |
38 |
|
|
39 |
|
* XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration| |
40 |
|
version |3.0|). |
41 |
|
(ManakaiDOMDocumentTypeDefinition): The class no longer |
42 |
|
inherits |x:ManakaiDOMDocumentType| class. Instead, |
43 |
|
it inherits |d:ManakaiDOMDocumentTypeDeclaration| |
44 |
|
and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType| |
45 |
|
interface (except unimplemented |notations| and |internalSubset| |
46 |
|
attributes). |
47 |
|
(ManakaiDOMDocumentTypeDefinition.entities): New attribute |
48 |
|
for compatibility with |x:DocumentType| interface. |
49 |
|
(ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method. |
50 |
|
(ManakaiDOMDocumentTypeDefinition.getFeature): New method. |
51 |
|
(ManakaiDOMDocumentTypeDefinition.nodeType, |
52 |
|
ManakaiDOMDocumentTypeDefinition.textContent): New attributes. |
53 |
|
(DocumentTypeDeclaration): New interface. |
54 |
|
|
55 |
|
* Tree.dis (Node/@f:implements): Typos fixed. |
56 |
|
(Node.MUErrorHandler): Missing |last A| statement is added. |
57 |
|
(createDocumentType): Throws an exception if |qualifiedName| |
58 |
|
is illegal. Calls |DocumentTypeDefinition.newObject| |
59 |
|
instead of obsolete |DocumentType.newObject|. |
60 |
|
|
61 |
|
* DOMXML.dis (DocumentType.name, DocumentType.entities, |
62 |
|
DocumentType.publicId, DocumentType.systemId, |
63 |
|
DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined |
64 |
|
as clones of similar attributes or methods |
65 |
|
in |MDOM:XDoctype| module. |
66 |
|
(DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject| |
67 |
|
instead). |
68 |
|
(DocumentType.childNodes): Removed (|Node.childNodes| definition |
69 |
|
is used). |
70 |
|
|
71 |
|
2006-02-10 Wakaba <wakaba@suika.fam.cx> |
72 |
|
|
73 |
|
* XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New |
74 |
|
fatal error. |
75 |
|
|
76 |
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
78 |
* XMLParser.dis (CommentDeclaration): |STRING| is now |
* XMLParser.dis (CommentDeclaration): |STRING| is now |