/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Diff of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.115 by wakaba, Wed Feb 8 08:18:29 2006 UTC revision 1.125 by wakaba, Mon Feb 13 10:42:15 2006 UTC
# Line 1  Line 1 
1    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
2    
3            * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
4            WFC error is implemented.
5    
6    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
7    
8            * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
9            configuration parameter |true| during tree construction
10            to ensure default attribute value is cloned as is
11            including entity reference subtree.
12    
13            * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
14            parameter.
15            (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
16            configuration parameter support is added.
17    
18    2006-02-12  Wakaba  <wakaba@suika.fam.cx>
19    
20            * XMLParser.dis (parseString): General |Entity| replacement
21            tree is not constructed because of a typo.  Clears |EntityReference|
22            content before constructing |Entity| replacement tree.
23            The |xp:wf-entity-declared| well-formedness constraint
24            for entity references in attribute value literal is implemented.
25    
26    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
27    
28            * XMLParser.dis: |xp:wf-entity-declared| well-formedness
29            constaraint for entity references that appear in
30            content of elements is implemented.   Set |EntityReference.isExpanded|
31            attribute.
32            (getEmptyEntityState): New code.
33    
34            * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
35            definition is removed.
36    
37            * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
38            (EntityReference.isExpanded): Setter is added.
39    
40    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
41    
42            * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
43            and |xp:wf-no-external-entity-references| well-formedness
44            constraints are implemented.
45    
46    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
47    
48            * XMLParser.dis ($self->{has_error}): Removed.
49            (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
50            errors (including well-formedness constraint errors) are
51            traped by the error handler.
52            (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
53            attribute of the node.  Reports an error if |publidLiteral|
54            contains a non-|pubidChar|.
55    
56            * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
57            version |3.0|).
58            (ManakaiDOMDocumentTypeDefinition): The class no longer
59            inherits |x:ManakaiDOMDocumentType| class.  Instead,
60            it inherits |d:ManakaiDOMDocumentTypeDeclaration|
61            and |t:ManakaiDOMNOde| classes.  It still implements |x:DocumentType|
62            interface (except unimplemented |notations| and |internalSubset|
63            attributes).
64            (ManakaiDOMDocumentTypeDefinition.entities): New attribute
65            for compatibility with |x:DocumentType| interface.
66            (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
67            (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
68            (ManakaiDOMDocumentTypeDefinition.nodeType,
69            ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
70            (DocumentTypeDeclaration): New interface.
71    
72            * Tree.dis (Node/@f:implements): Typos fixed.
73            (Node.MUErrorHandler): Missing |last A| statement is added.
74            (createDocumentType): Throws an exception if |qualifiedName|
75            is illegal.  Calls |DocumentTypeDefinition.newObject|
76            instead of obsolete |DocumentType.newObject|.
77    
78            * DOMXML.dis (DocumentType.name, DocumentType.entities,
79            DocumentType.publicId, DocumentType.systemId,
80            DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
81            as clones of similar attributes or methods
82            in |MDOM:XDoctype| module.
83            (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
84            instead).
85            (DocumentType.childNodes): Removed (|Node.childNodes| definition
86            is used).
87    
88    2006-02-10  Wakaba  <wakaba@suika.fam.cx>
89    
90            * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
91            fatal error.
92    
93    2006-02-09  Wakaba  <wakaba@suika.fam.cx>
94    
95            * XMLParser.dis (CommentDeclaration): |STRING| is now
96            defined as a |?default-token|.
97            (XMLTests): Tests for |Char - RestrictedChar| matchness,
98            comment declarations, cdata sections, and |MSE| in |content|
99            added.
100            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
101            (get-location-from-token): |$token->{location_d}|
102            for |?default-token| column counting support added.
103    
104            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
105    
106    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
107    
108            * Tree.dis (createProcessingInstruction): Don't
109            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
110            is |false|.
111    
112            * XMLParser.dis (parseString): Initializes |$self->{location}|.
113            It enables improved error position report.
114            (XDO): It now includes |S+| following target name |xml| as
115            part of the token.  (PI with target starting with |xml|
116            was unable to be placed at the beginning of the document entity.)
117            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
118            a processing instruction node with |#INVALID| node name
119            if target name is not given and recovered from the error.
120            (S): Variable |$s| added.
121            (XMLTests): Tests for XML declarations and processing
122            instructions are added.  Prints error type name if unexpected
123            error with severity of error or fatal error has been reported.
124            Catch unexpected exceptions thrown in parser (different
125            from |LSException|), prints its message, and invoke |$test->not_ok|
126            for the ease of testing.
127            (xp:get-location-from-token): Location values now take |$self->{char}|
128            stack into acount.
129            
130    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
131    
132            * XMLParser.dis (shiftChar): Line and column number counting
133            is fixed.  Although the DOM Level 3 Core specification
134            is unclear about whether the first number is zero or one,
135            in most programs the first line is "one" and
136            the first column is "one", manakai follows the practice.
137            (_XMLDeclaration): Don't set |xmlStandalone| value
138            if |standalone| pseudo-attribute value is |no|.  XML declaration
139            tests (successful cases) added.
140            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
141            properties.
142    
143  2006-02-08  Wakaba  <wakaba@suika.fam.cx>  2006-02-08  Wakaba  <wakaba@suika.fam.cx>
144    
145          * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.          * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.125

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24