/[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.135 by wakaba, Sun Feb 26 14:32:38 2006 UTC
# Line 1  Line 1 
1    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
2    
3            * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
4            module was missing.
5    
6            * ManakaiDOMLS2003.dis: Some property names was incorrect.
7    
8            * Makefile (distclean): New rule.
9    
10    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
11    
12            * DOMLS.dis: Removed from the CVS repository, since
13            it has been no longer required to make the |daf| system
14            itself.
15    
16    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
17    
18            * Makefile: Revised for new |daf| database format.
19    
20    2006-02-25  Wakaba  <wakaba@suika.fam.cx>
21    
22            * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
23            module is added.
24    
25    2006-02-22  Wakaba  <wakaba@suika.fam.cx>
26    
27            * DOMLS.dis: Constants were typed as |dx:ErrorCode|
28            by mistake.
29    
30    2006-02-18  Wakaba  <wakaba@suika.fam.cx>
31    
32            * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
33            feature.
34    
35            * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
36    
37            * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
38            (DOMImplementationLS.createLSParser): Implemented.
39            (DOMImplementationLS.createLSInput): Revised.
40            (LSInput): Note on relationship with |GenericLS| is added.
41    
42            * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
43    
44    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
45    
46            * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
47            is introduced.
48            (async, busy): Implemented.
49            (parseString): Removed.
50            (parse, parseURI): Implemented.
51            (xp:ls-input-to-input-file): New configuration parameter.
52            (shiftChar): Gets character from current file handle
53            rather than replacement text.  Don't normalize
54            line break characters for internal entities.  Don't
55            throw |xp:wf-legal-literal-character| error
56            for |RestrictedChar| appearing in internal entities.
57            (DISPerl:dpgDef): Call |close| for each entity filehandler.
58            (_EntityDeclaration): Copy document URI and base URI
59            to the entity's |$decl| object.
60            (ParseError): New code fragment.
61            (getCopyOfEntityState): Creates filehandle from replacement
62            text.
63            (xp-error-lines): Don't appends text if no replacement
64            text is available.
65            (error-handler): New configuration parameter application resource.
66            (ManakaiDOMLSInputToInputFile): New class.
67            (ManakaiDOMInputFile): New class.
68    
69            * Tree.dis (getNodeReference): A dereferencing was missing.
70    
71            * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
72    
73    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
74    
75            * XMLParser.dis: Default attribute are now namespace aware.
76            (parseString): Don't output |Document| warnings
77            during tree construction to standard error output.
78    
79    2006-02-16  Wakaba  <wakaba@suika.fam.cx>
80    
81            * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
82            XML Namespace 1.1 is implemented.  Namespace well-formedness
83            error detection is implemented.  Generates |Notation| nodes
84            from notation declarations.
85            (checkNCName, checkQName): New code fragments.
86    
87            * XDoctype.dis (DocumentXDoctype): Factory methods
88            don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
89            is |false|.
90    
91            * DOMCore.dis (wf-invalid-character-in-node-name,
92            wf-invalid-character): Removed (moved to |MDOM:Tree| module).
93    
94            * Tree.dis '(wf-invalid-character-in-node-name,
95            wf-invalid-character): New errors (from |MDOM:DOMCore| module).
96            (Attr.specified): Setter added.
97            (cfg:dtd-default-attributes): New configuration parameter.
98            (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
99            if |Document.strictErrorChecking| is |false|.
100    
101    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
102    
103            * XMLParser.dis: Set |allDeclarationsProcessed|
104            attribute of the |Document| node.  Don't process entity
105            and attribute definition list declarations after
106            unread parameter entity reference.  Warns if an attribute definition is
107            ignored (|xp:warning-attribute-definition-ignored|).  Set
108            flags whether predefined entities are declared or not.
109            WFC error |xp:wf-pes-in-internal-subset| is implemented.
110    
111    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
112    
113            * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
114            if a predefined entity declaration references an external entity.
115            Issues |xp:error-malformed-predefined-entity| error if
116            a predefined entity declaration defines different thing than
117            one as in XML specification.  
118            Issies |xp:warning-entity-declaration-ignored| warning if
119            more than one entity declarations for an entity is found.
120            (WFErrDef): Now all well-formedness errors are marked
121            as |SEVERITY_FATAL_ERROR|.
122    
123            * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
124            predefined entity declarations.
125            (DocumentXDoctype.createNotation): New method.
126            (DocumentTypeDefinition.notations): New attribute.
127            (DocumentTypeDefinition.getNotationNode): New method.
128            (DocumentTypeDefinition.setNotationNode): New method.
129            (newNotationForTest): New code fragment.
130    
131            * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
132            (c:ManakaiDOMNotationMap): New class.
133            (c:ManakaiDOMNotationMapArray): New class.
134            (Document.allDeclarationsProcessed): New attribute.
135    
136            * DOMXML.dis (DocumentType.notations): Implemented.
137            (Notation): Revised.
138            (Notation.ownerDocumentTypeDefinition): New attribute.
139    
140    2006-02-14  Wakaba  <wakaba@suika.fam.cx>
141    
142            * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
143            WFC errors are implemented.  Reports a |xp:wf-syntax-error|
144            if a parameter entity declaration contains |NDATA| keyword.
145            (setEmptyEntityState): Set |name| attribute.
146    
147            * Tree.dis (createEntityReference): Don't enter into inifinite
148            loop even if entity replacement tree contains recursive
149            reference directly or indirectly.
150    
151    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
152    
153            * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
154            WFC error is implemented.
155    
156    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
157    
158            * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
159            configuration parameter |true| during tree construction
160            to ensure default attribute value is cloned as is
161            including entity reference subtree.
162    
163            * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
164            parameter.
165            (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
166            configuration parameter support is added.
167    
168    2006-02-12  Wakaba  <wakaba@suika.fam.cx>
169    
170            * XMLParser.dis (parseString): General |Entity| replacement
171            tree is not constructed because of a typo.  Clears |EntityReference|
172            content before constructing |Entity| replacement tree.
173            The |xp:wf-entity-declared| well-formedness constraint
174            for entity references in attribute value literal is implemented.
175    
176    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
177    
178            * XMLParser.dis: |xp:wf-entity-declared| well-formedness
179            constaraint for entity references that appear in
180            content of elements is implemented.   Set |EntityReference.isExpanded|
181            attribute.
182            (getEmptyEntityState): New code.
183    
184            * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
185            definition is removed.
186    
187            * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
188            (EntityReference.isExpanded): Setter is added.
189    
190    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
191    
192            * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
193            and |xp:wf-no-external-entity-references| well-formedness
194            constraints are implemented.
195    
196    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
197    
198            * XMLParser.dis ($self->{has_error}): Removed.
199            (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
200            errors (including well-formedness constraint errors) are
201            traped by the error handler.
202            (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
203            attribute of the node.  Reports an error if |publidLiteral|
204            contains a non-|pubidChar|.
205    
206            * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
207            version |3.0|).
208            (ManakaiDOMDocumentTypeDefinition): The class no longer
209            inherits |x:ManakaiDOMDocumentType| class.  Instead,
210            it inherits |d:ManakaiDOMDocumentTypeDeclaration|
211            and |t:ManakaiDOMNOde| classes.  It still implements |x:DocumentType|
212            interface (except unimplemented |notations| and |internalSubset|
213            attributes).
214            (ManakaiDOMDocumentTypeDefinition.entities): New attribute
215            for compatibility with |x:DocumentType| interface.
216            (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
217            (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
218            (ManakaiDOMDocumentTypeDefinition.nodeType,
219            ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
220            (DocumentTypeDeclaration): New interface.
221    
222            * Tree.dis (Node/@f:implements): Typos fixed.
223            (Node.MUErrorHandler): Missing |last A| statement is added.
224            (createDocumentType): Throws an exception if |qualifiedName|
225            is illegal.  Calls |DocumentTypeDefinition.newObject|
226            instead of obsolete |DocumentType.newObject|.
227    
228            * DOMXML.dis (DocumentType.name, DocumentType.entities,
229            DocumentType.publicId, DocumentType.systemId,
230            DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
231            as clones of similar attributes or methods
232            in |MDOM:XDoctype| module.
233            (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
234            instead).
235            (DocumentType.childNodes): Removed (|Node.childNodes| definition
236            is used).
237    
238    2006-02-10  Wakaba  <wakaba@suika.fam.cx>
239    
240            * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
241            fatal error.
242    
243    2006-02-09  Wakaba  <wakaba@suika.fam.cx>
244    
245            * XMLParser.dis (CommentDeclaration): |STRING| is now
246            defined as a |?default-token|.
247            (XMLTests): Tests for |Char - RestrictedChar| matchness,
248            comment declarations, cdata sections, and |MSE| in |content|
249            added.
250            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
251            (get-location-from-token): |$token->{location_d}|
252            for |?default-token| column counting support added.
253    
254            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
255    
256    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
257    
258            * Tree.dis (createProcessingInstruction): Don't
259            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
260            is |false|.
261    
262            * XMLParser.dis (parseString): Initializes |$self->{location}|.
263            It enables improved error position report.
264            (XDO): It now includes |S+| following target name |xml| as
265            part of the token.  (PI with target starting with |xml|
266            was unable to be placed at the beginning of the document entity.)
267            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
268            a processing instruction node with |#INVALID| node name
269            if target name is not given and recovered from the error.
270            (S): Variable |$s| added.
271            (XMLTests): Tests for XML declarations and processing
272            instructions are added.  Prints error type name if unexpected
273            error with severity of error or fatal error has been reported.
274            Catch unexpected exceptions thrown in parser (different
275            from |LSException|), prints its message, and invoke |$test->not_ok|
276            for the ease of testing.
277            (xp:get-location-from-token): Location values now take |$self->{char}|
278            stack into acount.
279            
280    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
281    
282            * XMLParser.dis (shiftChar): Line and column number counting
283            is fixed.  Although the DOM Level 3 Core specification
284            is unclear about whether the first number is zero or one,
285            in most programs the first line is "one" and
286            the first column is "one", manakai follows the practice.
287            (_XMLDeclaration): Don't set |xmlStandalone| value
288            if |standalone| pseudo-attribute value is |no|.  XML declaration
289            tests (successful cases) added.
290            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
291            properties.
292    
293  2006-02-08  Wakaba  <wakaba@suika.fam.cx>  2006-02-08  Wakaba  <wakaba@suika.fam.cx>
294    
295          * 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.135

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24