/[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.126 by wakaba, Mon Feb 13 17:03:21 2006 UTC
# Line 1  Line 1 
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>
118    
119            * Tree.dis (createProcessingInstruction): Don't
120            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
121            is |false|.
122    
123            * XMLParser.dis (parseString): Initializes |$self->{location}|.
124            It enables improved error position report.
125            (XDO): It now includes |S+| following target name |xml| as
126            part of the token.  (PI with target starting with |xml|
127            was unable to be placed at the beginning of the document entity.)
128            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
129            a processing instruction node with |#INVALID| node name
130            if target name is not given and recovered from the error.
131            (S): Variable |$s| added.
132            (XMLTests): Tests for XML declarations and processing
133            instructions are added.  Prints error type name if unexpected
134            error with severity of error or fatal error has been reported.
135            Catch unexpected exceptions thrown in parser (different
136            from |LSException|), prints its message, and invoke |$test->not_ok|
137            for the ease of testing.
138            (xp:get-location-from-token): Location values now take |$self->{char}|
139            stack into acount.
140            
141    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
142    
143            * XMLParser.dis (shiftChar): Line and column number counting
144            is fixed.  Although the DOM Level 3 Core specification
145            is unclear about whether the first number is zero or one,
146            in most programs the first line is "one" and
147            the first column is "one", manakai follows the practice.
148            (_XMLDeclaration): Don't set |xmlStandalone| value
149            if |standalone| pseudo-attribute value is |no|.  XML declaration
150            tests (successful cases) added.
151            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
152            properties.
153    
154  2006-02-08  Wakaba  <wakaba@suika.fam.cx>  2006-02-08  Wakaba  <wakaba@suika.fam.cx>
155    
156          * 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.126

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24