/[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.113 by wakaba, Sun Jan 29 13:58:52 2006 UTC revision 1.127 by wakaba, Wed Feb 15 13:36:20 2006 UTC
# Line 1  Line 1 
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>
134    
135            * XMLParser.dis (CommentDeclaration): |STRING| is now
136            defined as a |?default-token|.
137            (XMLTests): Tests for |Char - RestrictedChar| matchness,
138            comment declarations, cdata sections, and |MSE| in |content|
139            added.
140            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
141            (get-location-from-token): |$token->{location_d}|
142            for |?default-token| column counting support added.
143    
144            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
145    
146    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
147    
148            * Tree.dis (createProcessingInstruction): Don't
149            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
150            is |false|.
151    
152            * XMLParser.dis (parseString): Initializes |$self->{location}|.
153            It enables improved error position report.
154            (XDO): It now includes |S+| following target name |xml| as
155            part of the token.  (PI with target starting with |xml|
156            was unable to be placed at the beginning of the document entity.)
157            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
158            a processing instruction node with |#INVALID| node name
159            if target name is not given and recovered from the error.
160            (S): Variable |$s| added.
161            (XMLTests): Tests for XML declarations and processing
162            instructions are added.  Prints error type name if unexpected
163            error with severity of error or fatal error has been reported.
164            Catch unexpected exceptions thrown in parser (different
165            from |LSException|), prints its message, and invoke |$test->not_ok|
166            for the ease of testing.
167            (xp:get-location-from-token): Location values now take |$self->{char}|
168            stack into acount.
169            
170    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
171    
172            * XMLParser.dis (shiftChar): Line and column number counting
173            is fixed.  Although the DOM Level 3 Core specification
174            is unclear about whether the first number is zero or one,
175            in most programs the first line is "one" and
176            the first column is "one", manakai follows the practice.
177            (_XMLDeclaration): Don't set |xmlStandalone| value
178            if |standalone| pseudo-attribute value is |no|.  XML declaration
179            tests (successful cases) added.
180            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
181            properties.
182    
183    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
184    
185            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
186    
187    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
188    
189            * DOMCore.dis (c:erred): New property.
190            (c:DOMErrorType): It should have been a subset
191            of |ecore:AnyErrorCode|.
192    
193            * XMLParser.dis (XMLTests): Empty input tests added.
194    
195    2006-01-30  Wakaba  <wakaba@suika.fam.cx>
196    
197            * XDoctype.dis (d:Feature): New canonical feature
198            name |fe:XDoctype| is added.
199    
200            * XMLParser.dis: Predefined general entity references
201            are implemented.  Creates |Entity| nodes from general entities
202            declared in internal subset.  |Entity| nodes created from internal
203            general parsed entities now have replacement tree.
204            Sets |cfg:entity-reference-read-only| flag off during
205            the tree generation.  Some parsing rules use |$self->{doc}|
206            rather than |$doc| parameter.  Similarly, |$self->{docx}| (document
207            node with |fe:XDoctype| feature) and |$self->{dtdef}| are
208            introduced.  General entity references in attribute value literal
209            are supported.
210    
211  2006-01-29  Wakaba  <wakaba@suika.fam.cx>  2006-01-29  Wakaba  <wakaba@suika.fam.cx>
212    
213          * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration          * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration

Legend:
Removed from v.1.113  
changed lines
  Added in v.1.127

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24