/[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.94 by wakaba, Fri Dec 23 03:47:19 2005 UTC revision 1.203 by wakaba, Fri Dec 29 14:45:40 2006 UTC
# Line 1  Line 1 
1    2006-12-29  Wakaba  <wakaba@suika.fam.cx>
2    
3            * TreeCore.dis, DOMCore.dis, Document.dis,
4            Element.dis, CharacterData.dis, XML.dis,
5            XDoctype.dis, DOMString.dis, TreeStore.dis,
6            XMLParser.dis: Use Perl native
7            hashs and |Scalar::Util|'s weak references in favor of |Grove.dis|
8            for DOM nodes.  See
9            also <http://suika.fam.cx/gate/2005/sw/manakai/%E3%83%A1%E3%83%A2/2006-12-29>.
10    
11    2006-12-03  Wakaba  <wakaba@suika.fam.cx>
12    
13            * DOMFeature.dis, TreeCore.dis: Unused |role|s are removed.
14    
15    2006-12-02  Wakaba  <wakaba@suika.fam.cx>
16    
17            * DOMString.dis: New module.
18    
19            * DOMString.pm: New file.
20    
21            * DOMCore.dis (min): Moved from |DOMFeature.dis|.
22            (ImplementationRegistryVariable): Moved from |DOMFeature.dis|.
23            Now it references the |DOMImplementationRegistry| object.
24            (DOMImplementationRegistryVariable): Moved from |DOMMain.dis|.
25            (DOMImplementationRegistry): New interface and
26            class, reformed from |ImplementationRegistry| in |DOMFeature.dis|
27            and |DOMImplementationRegistry| in |DOMMain.dis|.  Note
28            that the class no longer support |get_implementation|
29            and |get_implementation_list| methods from
30            the |ImplementationRegistry| interface.
31            (DOMImplementationList): Class implemented; no
32            longer inherits from |ImplementationList|.
33            (DOMImplementationSource): Class implemented; no
34            longer inherits from |ImplementationSource|.  Note that
35            the class no longer support |get_implementation|
36            and |get_implementation_list| methods from
37            the |ImplementationSource| interface.
38            (DOMStringList): Removed.
39    
40            * DOMFeature.dis (min, ManakaiDOM:DOMHTMLFeature,
41            ManakaiDOM:DOMEventsFeature, ManakaiDOM:DOMXMLFeature,
42            ManakaiDOM:DOMXMLFeatureXML11, most part of
43            documentation for obsolete DOM Level 3 Minimum Implementation
44            module, obsolete property name aliases,
45            ImplemenationRegistryVar, ImplementationRegistry,
46            DEBUG, MIString, ImplementationList, ImplementationSource,
47            ManakaiDOM:implID): Removed.
48    
49            * DOMMain.dis (Redefine, RedefinedBy, Redefined): Removed.
50            (DOMString): Removed.
51            (DOMImplementationRegistryVar, DOMImplementationRegistry): Removed.
52    
53            * Makefile: |DOMString.pm| is added.
54    
55            * TreeCore.dis (is_default_namespace): |null| was
56            returned where a false is expected (|null| is
57            a false in Perl, but real |false| is appropriate here).
58    
59    2006-11-05  Wakaba  <wakaba@suika.fam.cx>
60    
61            * DOMCore.dis (TypeInfo, UserDataHandler): Removed.
62    
63            * Element.dis (TypeInfo): Moved from |DOMCore.dis|.
64    
65            * TreeCore.dis (UserDataHandler): Moved from |DOMCore.dis|.
66    
67    2006-11-05  Wakaba  <wakaba@suika.fam.cx>
68    
69            * DOMFeature.dis (ImplementationList, ImplementationSource,
70            ImplementationRegistry): Parameters |features|
71            now allow |null| (equivalent to an empty string).
72    
73    2006-11-05  Wakaba  <wakaba@suika.fam.cx>
74    
75            * CharacterData.dis (ManakaiDOMDocumentCharacterData): New
76            class.  Factory methods |createTextNode| and |createComment|
77            are moved from |ManakaiDOMDocument|.
78    
79            * DOMCore.dis: References to |ManakaiDOMObject|
80            are removed.
81            (tc:createImplForTest): Moved from |TreeCore.dis|.
82            (DOMImplementation.___create_node_ref): Support
83            for the |mg:nodeRefClass| option is removed.
84            (ManakaiDOMConfiguration.___report_error): Moved
85            from |ManakaiDOMObject| class.
86    
87            * DOMFeature.dis (domidl:extends): New property.
88            (f:getFeatureImpl): Support for |+| classes is removed.
89    
90            * DOMMain.dis (DOMMain:docSupportsXMLFeature): Removed.
91            (ManakaiDOM:ManakaiDOMObject): Removed.
92            (DOMDataType): Removed.
93    
94            * Document.dis (ManakaiDOMImplementationDocument):
95            The |createDocument| method is moved from
96            the |ManakaiDOMImplementationTC| in |TreeCore.dis|.
97            (ManakaiDOMDocument.___create_node_ref): Removed.
98            (createElement, createElementNS, createAttribute,
99            createAttributeNS, createTextNode, createComment,
100            createCDATASection, createEntityReference,
101            createProcessingInstruction): Class implementations
102            are moved to each module.
103    
104            * Element.dis (ManakaiDOMImplementationElement): Factory
105            methods are moved from |Document.dis|.
106            (ManakaiDOMElement.___create_node_ref): Support
107            for old class registry is removed.
108            (ManakaiDOMAttr.___create_node_ref): Removed.
109            (Attr.baseURI): Implementation
110            for |xml:base| attribute is merged.
111            (Attr.nodeValue, Attr.value): Implementation
112            for |xml:id| attribute is merged.
113    
114            * TreeCore.dis (ManakaiDOMImplementationTC): Removed.
115    
116            * XDoctype.dis (ManakaiDOMImplementationXDoctype): The
117            definition for |createDocumentType| method
118            is moved from |TreeCore.dis|.
119    
120            * XML.dis (ManakaiDOMXMLDocument): Factory
121            methods are moved from |Document.dis|.
122            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Removed (merged
123            into |ManakaiDOMAttr| in |Element.dis|).
124    
125    2006-11-05  Wakaba  <wakaba@suika.fam.cx>
126    
127            * Element.dis (___get_node_ref): |eval|ed |require|
128            statement was broken.
129    
130            * DOMFeature.dis (getImplementationList): Argument
131            is not passed to the |getImplementation| method.
132    
133            * TreeStore.dis (DOMImplementationTreeStore): It
134            did not |f:implements| the |TSFeature30| feature.
135    
136            * XMLParser.dis: Use |create_uri_reference|
137            method instead of internal |_new| method
138            to create a URI reference object.
139    
140    2006-11-04  Wakaba  <wakaba@suika.fam.cx>
141    
142            * DOMCore.dis (ManakaiDOMImplementation): No longer
143            explicitly inherits |urigen:ManakaiURIImplementation| (and
144            the |f:ManakaiMinimumImplementation| class inherited
145            by it).  The |f:Minimum| feature is ever implemented
146            for compatibility (but is expected to be removed).
147            Internal methods such as |___report_error| are copied from
148            obsolete |f:MinimumImplementation| class.  DOM3
149            methods |hasFeature| and |getFeature| are also
150            moved from that class, but they now support no
151            foreign classes.
152    
153            * DOMFeature.dis (ManakaiImplementationSource): It
154            now |p:require|s |Message::Util::AutoLoad::Registry|.
155            The class no longer support classes
156            other than |ManakaiDOMImplementation|.  Note
157            that the |ImplementationRegistry| object does continue
158            to support foreign classes via foreign classes
159            implementing |ImplementationSource|
160            or |DOMImplementationSource| interface.
161            (MinimumImplementation): Removed.
162    
163            * DOMLS.dis (ManakaiDOMImplementationLS): It no
164            longer inherit the |ManakaiDOMImplementation|; it
165            is now expected to be implemented by |DOMImplementation|
166            objects.
167    
168            * DOMMain.dis (null): Removed.
169    
170            * Document.dis (___create_node_ref): It no
171            longer support foreign classes other
172            than |Message::DOM::Document::ManakaiDOMDocument|.
173            Note that document format specific DOM
174            interfaces, if supported, should be
175            all instances of the |Document| interface
176            in the implementation, as defined
177            in the Web Applications 1.0 specification (where
178            the |HTMLDocument| interface must be implemented
179            by all |Document| objects, even if the |Document|
180            contains no HTML element).
181    
182            * GenericLS.dis (GLSImplementation): It no
183            longer inherit the |MinimumImplementation|; it
184            is now expected to be implemented by |DOMImplementation|
185            objects.
186            (createGLSParser, createGLSSerializer): Load
187            module implementing parser or serializer
188            if necessary.
189    
190            * Traversal.dis (ManakaiDOMDocumentTraversal): It no
191            longer inherits the |ManakaiDOMDocument|; it
192            is now expected to be implemented by |Document|
193            objects.
194    
195            * XDP.dis (XDPDocument): It no longer
196            inherits the |Document|; it is now expected
197            to be implemented by all |Document| objects.
198    
199            * XDoctype.dis (ManakaiDOMDocumentXDoctype): It no
200            longer inherits the |ManakaiDOMDocument|; it
201            is now expected to be implemented by |Document|
202            objects.
203    
204    2006-11-04  Wakaba  <wakaba@suika.fam.cx>
205    
206            * DOMCore.dis (ManakaiDOMImplementation): No longer
207            explicitly inherits |tc:ManakaiDOMImplementationTC|.
208            (ManakaiDOMImplementation.AUTOLOAD): New method definition.
209    
210            * TreeCore.dis (ManakaiDOMImplementationTC): Extends
211            the |ManakaiDOMImplementation| class.
212    
213    2006-11-03  Wakaba  <wakaba@suika.fam.cx>
214    
215            * DOMFeature.dis: Definitions for various concepts
216            are added.
217    
218            * GenericLS.dis (GLSImplementation): It no
219            longer inherits the |MinimumImplementation|; rather,
220            any |ManakaiMinimumImplementation| object also
221            implements |GLSImplementation| methods.
222    
223            * TreeStore.dis (DOMImplementationTreeStore): It no
224            longer inherits the |DOMImplementation|; rather,
225            any |ManakaiDOMImplementation| object also
226            implements |DOMImplementationTreeStore| methods.
227    
228    2006-08-15  Wakaba  <wakaba@suika.fam.cx>
229    
230            * TreeStore.pm: Added to the CVS repository
231            to enable for the dis database to contain XML
232            fragments.
233    
234            * Makefile (DOT_CORE_DIS_FILES): |TreeStore.pm| is added.
235    
236            * TreeStore.dis (Namespace): Namespace URI was incorrect.
237    
238    2006-06-18  Wakaba  <wakaba@suika.fam.cx>
239    
240            * Traversal.dis (expandEntityReferences): Syntax was incorrect.
241    
242            * TreeCore.dis (manakaiReadOnly): Test assertion was incorrect.
243    
244            * XDP.dis (dtdText): Test assertion was incorrect.
245    
246    2006-05-21  Wakaba  <wakaba@suika.fam.cx>
247    
248            * XDP.dis (XDPEntityValue.stringify): Don't escape
249            any |%|s in |xdp:attr-definition| children.
250    
251    2006-05-20  Wakaba  <wakaba@suika.fam.cx>
252    
253            * XDP.dis (createXDPRNIKeyword): The Perl method
254            name property is added.
255    
256    2006-05-20  Wakaba  <wakaba@suika.fam.cx>
257    
258            * XDP.dis (createXDPIf): New method.
259            (XDPIfElement): New interface.
260    
261    2006-05-15  Wakaba  <wakaba@suika.fam.cx>
262    
263            * XDP.dis (createXDPElement, createXDPAttlist, createXDPAttrDefinition):
264            New methods.
265    
266    2006-05-15  Wakaba  <wakaba@suika.fam.cx>
267    
268            * XDP.dis (XDPDocument): A number of constructor methods
269            are added.
270            (XDPTextDecl.dtdText): The |xml| target was missing.
271    
272    2006-05-14  Wakaba  <wakaba@suika.fam.cx>
273    
274            * Traversal.dis (SerialWalker): New interface.
275            (manakaiCreateSerialWalker): New method.
276    
277    2006-05-13  Wakaba  <wakaba@suika.fam.cx>
278    
279            * Traversal.dis (testNode): Calls |acceptNode| method
280            rather than |&{}| dereferencing.
281            (acceptNode): Implemented.
282    
283    2006-05-13  Wakaba  <wakaba@suika.fam.cx>
284    
285            * XDP.dis: New module.
286    
287            * Makefile: |XDP.dis| is added.
288    
289            * Traversal.dis (NodeFilter): |InputProcessor|
290            and |OutputProcessor| are added.
291    
292    2006-05-13  Wakaba  <wakaba@suika.fam.cx>
293    
294            * Traversal.dis (MANAKAI_FILTER_OPAQUE): New |AcceptNode| value.
295            (TreeWalker): The |MANAKAI_FILTER_OPAQUE| value support
296            is added.  The |FILTER_REJECT| value is treated
297            as |FILTER_ACCEPT| if the |currentNode| is in the
298            rejected subtree as specified in the spec.
299    
300    2006-05-05  Wakaba  <wakaba@suika.fam.cx>
301    
302            * SimpleLS.dis: An |xmlns:| prefix was missing.
303    
304    2006-05-04  Wakaba  <wakaba@suika.fam.cx>
305    
306            * SimpleLS.dis: Namespace bugs are fixed.
307    
308    2006-04-30  Wakaba  <wakaba@suika.fam.cx>
309    
310            * .cvsignore: Updated.
311    
312            * Traversal.dis: Unused declarations are removed.
313    
314    2006-04-30  Wakaba  <wakaba@suika.fam.cx>
315    
316            * CharacterData.dis (Require): A reference to
317            the |MDOM:Traversal| module is added.
318            (wholeText): Implemented.
319    
320    2006-04-30  Wakaba  <wakaba@suika.fam.cx>
321    
322            * Makefile: |Traversal.dis| is added.
323    
324            * Traversal.dis: New module.
325    
326            * TreeCore.dis (___report_error): Return value was
327            not propagated.
328    
329    2006-04-29  Wakaba  <wakaba@suika.fam.cx>
330    
331            * Element.dis (removeAttributeNS): A runtime error
332            was occurred if there was no specified attribute node.
333    
334            * TreeCore.dis (manakaiLanguage): New attribute.
335    
336    2006-04-28  Wakaba  <wakaba@suika.fam.cx>
337    
338            * TreeCore.dis (NodeList.manakaiReadOnly, NamedNodeMap.manakaiReadOnly):
339            New attributes.
340    
341            (StaticNodeList): New interface.
342    
343    2006-04-24  Wakaba  <wakaba@suika.fam.cx>
344    
345            * DOMCore.dis (c:SET_TO_NULL_ERR): New error code.
346    
347    2006-04-22  Wakaba  <wakaba@suika.fam.cx>
348    
349            * SimpleLS.dis: Reimplemented.
350    
351    2006-04-22  Wakaba  <wakaba@suika.fam.cx>
352    
353            * DOMCore.dis (NO_MODIFICATION_ALLOWED_ERR): It is now
354            a qualified name.
355            (tc:EXTERNAL_NODE_COMPARISON_ERR): New error type.
356    
357            * TreeCore.dis (compareDocumentPosition): Implemented.
358            (normalize): Implemented.
359            (STORESIZE, CLEAR): Were not implemented for |EmptyNodeList|
360            class.
361    
362    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
363    
364            * DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed.
365    
366    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
367    
368            * CharacterData.dis (length, insertData, substringData,
369            appendData, deleteData, replaceData, splitText): Reimplemented.
370    
371            * DOMCore.dis (NEGATIVE_LENGTH_ERR): New error.
372            (c:index): The definition was missing.
373            (c:length): New property.
374    
375    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
376    
377            * XMLParser.dis (close): Invoke |close| method
378            rather than |close| function.
379    
380    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
381    
382            * CharacterData.dis: New module split from |TreeCore.dis|.
383    
384            * CharacterData.pm: Added to the CVS repository.
385    
386            * TreeCore.dis: The |CharacterData|, |Text|, and |Comment|
387            interfaces are removed.
388            (Require): A reference to the |MDOM:CharacterData| module
389            is added.
390    
391            * DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed.
392    
393            * DOMCore.dis (StringOutOfBoundsException): New error.
394    
395            * Makefile: |CharacterData.pm| is added.
396    
397    2006-04-09  Wakaba  <wakaba@suika.fam.cx>
398    
399            * XMLParser.dis (Require): Requires the |MCharset:Encode|
400            module.
401            (parse): Set the |inputEncoding| attribute of the generated document
402            object.
403            (resolveLSInput default implementation): The |byteStream|
404            and |encoding| attributes of the |LSInput| interface
405            are now supported.
406            (resolveLSInput): Parameters |impl| and |parser| are added.
407            (InputFile.inputEncoding): New attribute.
408    
409    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
410    
411            * Document.dis (adoptNode test): Documents were
412            made by different documents.
413    
414    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
415    
416            * XMLParser.dis: The |cfg:dtd-default-attributes| configuration
417            parameter is changed to |cfg:dtd-default-attribute|.
418    
419    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
420    
421            * TreeCore.dis: The |DOMMain:raiseException| elements
422            are replaced by |disPerl:EXCEPTION|s.
423    
424    2006-04-03  Wakaba  <wakaba@suika.fam.cx>
425    
426            * DOMMain.dis (GetPropNode, CheckReadOnly): Removed.
427    
428            * Node.dis (cfg:dtd-default-attribute): The configuration
429            parameter |cfg:dtd-default-attributes| is renamed
430            as |cfg:dtd-default-attribute|.
431            (Roles): Definitions are changed so that classes
432            that implement those classes MUST implement the |Node|
433            and its subinterfaces.
434            (cfg:dtd-attribute-type): New configuration parameter.
435    
436            * Document.dis (adoptNode): Don't throw exception
437            if |strictErrorChecking| is |false|.
438    
439            * Element.dis (setAttribute, setAttributeNS): Don't
440            set [attribute type] if the |cfg:dtd-attribute-type|
441            configuration parameter is set to |false|.
442            (removeAttribute, removeAttributeNS, removeAttributeNode): Don't
443            regenerate default attribute nodes if the |cfg:dtd-default-attribute|
444            configuration parameter is set to |false|.
445    
446    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
447    
448            * TreeStore.dis: New module.
449    
450            * Makefile: |TreeStore.dis| is added.
451    
452    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
453    
454            * XMLParser.dis: Updated so that it can be used
455            with |TreeCore.pm|, |Document.pm|, |Element.pm|,
456            and |XML.pm|.  Set the read-only flag to
457            the |DocumentType|, |Entity|, and |EntityReference| noes.
458    
459            * Node.dis (textContent): It did not handle descendant
460            element and entity reference nodes.
461    
462            * Element.dis, XML.dis (manakaiBaseURI.get): Its
463            definition has been changed to return only explicit
464            base URI specification.
465    
466            * DOMLS.dis (LSInput, LSOutput): They no longer
467            inherits the |ManakaiDOM:ManakaiDOMObject| class.
468    
469            * Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed.
470    
471            * Tree.pm, DOMXML.pm: Removed.
472    
473            * TreeCore.pm, Document.pm, Element.pm: Added
474            to the CVS repository since they are necessary to
475            build the dis library.
476    
477            * Makefile: Sync'ed to new modules disposition.
478    
479    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
480    
481            * Makefile: Rules for |Tree.pm| and |DOMXML.pm| are
482            removed.  For |Element.pm| and |Document.pm| are added.
483    
484            * Document.dis, Element.dis: New module split from |TreeCore.dis|.
485    
486            * TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed.
487    
488    2006-04-01  Wakaba  <wakaba@suika.fam.cx>
489    
490            * DOMFeature.dis (getImplementation, getImplementationList): Support
491            for new class information variables.
492            (DOMLS:Generic): This old feature name is removed.
493    
494            * GenericLS.dis (createGLSParser, createGLSSerializer): Support
495            for new class information variables.
496    
497            * TreeCore.dis (manakaiExpandedURI): New attribute.
498            (Document, Element.___create_node_ref): New method
499            implementations.
500    
501    2006-04-01  Wakaba  <wakaba@suika.fam.cx>
502    
503            * TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode):
504            Reimplemented.
505            (isId): Setter is added.
506            (Element.normalize): Definition copied from the |MDOM:Tree|
507            module.
508    
509    2006-03-31  Wakaba  <wakaba@suika.fam.cx>
510    
511            * Makefile (clean-db): New rule.
512    
513            * TreeCore.dis (setUserData): Schedule to invoke
514            the user data handler when the node is removed
515            from the memory.
516            (setAttribute, setAttributeNS): Set the [attribute type]
517            if DTD attribute definition is available.
518            (CharacterData members): Definitions copied from
519            the |MDOM:Tree| module.
520    
521    2006-03-31  Wakaba  <wakaba@suika.fam.cx>
522    
523            * DOMCore.dis (DOMStringList.==): New overloaded operator.
524    
525            * DOMFeature.dis (ManakaiHasFeatureByGetFeature): The
526            class did not implement the |GetFeature| interface.
527            (hasFeature): The |+| prefix was not taken into account.
528    
529            * TreeCore.dis (Node): The class now inherits
530            the |ManakaiHasFeatureByGetFeature| class.  It now
531            implements the |f:GetFeature| and |ecore:MUErrorTarget|
532            interfaces.
533            (CreateNodeRefMethod): The |mg:nodeRefInterfaces| option
534            is supported.
535            (lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented.
536            (manakaiParentElement): New attribute.
537    
538            * XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype|
539            is removed.
540            (lookupPrefix): Old method implementation is removed.
541    
542            * XML.dis (CDATASection): The |mg:NodeRefRole| was
543            missing because of the |DISCore:stopISARecursive| property.
544    
545            * TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis:
546            They now pass all tests included in those modules!
547    
548    2006-03-30  Wakaba  <wakaba@suika.fam.cx>
549    
550            * DOMCore.dis (Require): A reference to the |MURI:Generic|
551            module is added.
552            (ManakaiDOMStringList.DESTROY): Removed (no longer necessary).
553            (ManakaiDOMImplementation): It now inherits
554            the |urigen:ManakaiURIImplementation| class and
555            implements the |ecore:MUErrorTarget| interface.  It no
556            longer inherits the |ManakaiDOM:ManakaiDOMObject| class.
557            (ManakaiDOMImplementation.___report_error): New method.
558    
559            * DOMFeature.dis (Require): It now references the |Util:Grove|
560            module instead of |Util:ManakaiNode| module.
561            (DOMMetaImpl:ManakaiDOMImplementationRole): Removed.
562            (f:ManakaiMinimumImplementationCompatible): New role.
563            (ManakaiMinimumImplementation): Now it is built
564            on the new |Util:Grove| module rather than the |Util:ManakaiNode|
565            module.
566            (f:getFeatureImpl): Moved from the |MDOM:TreeCore| module.
567            (c:implementation): Removed.
568            (f:implementation, f:revImplementation): New properties.
569    
570            * DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed.
571    
572            * Tree.dis (cfg:clone-entity-reference-subtree,
573            cfg:dtd-default-attributes, cfg:xml-id,
574            cfg:strict-document-children): Removed (moved
575            to the |MDOM:TreeCore| module).
576    
577            * TreeCore.dis (Require): The reference to the |MURI:Generic|
578            module is removed.
579            (ManakaiDOMImplementationTC): Some members are removed
580            since they are incorporated to the |c:ManakaiDOMImplementation|
581            or the |f:ManakaiMinimumImplementation|.
582            (tc:nodeRefClass): Removed (moved to the |Util:Grove| module).
583            (replaceChildImpl1): A typo on the removing the parent node
584            of the old child node is fixed.
585            (f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature|
586            module).
587            (tc:implementation, tc:revImplementation): Removed (moved
588            to the |MDOM:DOMFeature| module).
589            (Document.appendChild, insertBefore, replaceChild): Sets
590            the |ownerDocument| attribute of the |tx:DocumentType| nodes.
591            (Attr.prefix, Element.prefix): Don't raise "uninitialized"
592            when the new value is |null|.
593            (Attr.___create_node_ref): Attribute name and
594            owner element type specific classes are supported (it
595            was partially implemented but was incorrect).
596            (ManakaiDOMGetElementsNodeList.item): Don't return
597            a node if the |index| is negative.
598            (setNamedItem): Various typos are fixed.
599            (removeNamedItem): The node was not removed orz
600            (cfg:clone-entity-reference-subtree,
601            cfg:dtd-default-attributes, cfg:xml-id,
602            cfg:strict-document-children): Definitions are moved
603            from the |MDOM:Tree| module.  Note that the tests for default
604            attributes still fail.
605            (ErrDef, IntPropDef): Moved from the |MDOM:Tree| module.
606            (Attr): Role name was incorrect.
607    
608            * XDoctype.dis (setDefinitionNode): Return value was
609            not set.
610            (AttributeDefinition): Role name was incorrect.
611    
612            * XML.dis (Require): A reference to the |DISlib:DISMarkup|
613            module is added.
614            (Notation.appendChild, insertBefore, replaceChild): New method
615            implementations.
616            (Entity.appendChild, insertBefore, replaceChild): New method
617            implementations.
618            (EntityReference.appendChild, insertBefore, replaceChild): Now
619            they are defined as copies of ones in the |Entity| class.
620            (XMLBaseAttribute, XMLIdAttribute): Now they are
621            namespace unaware attributes.
622            (XMLBaseAttributeNS, XMLIdAttributeNS): New attributes.
623            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References
624            to namespace aware attributes are added.
625    
626    2006-03-29  Wakaba  <wakaba@suika.fam.cx>
627    
628            * DOMCore.dis: Namespace prefixes are changed to new ones.
629    
630            * TreeCore.dis (createDocument, createDocumentType): Reimplemented (but
631            untested).
632            (___report_error): Reimplemented (untested).
633            (manakaiSetReadOnly): New method.
634            (Attr.___create_node_ref): New method (untested).
635            (Document.getFeature): |require|s the |MDOM:XML| Perl module.
636            (createEntityReference, cloneNode): Support for
637            the |cfg:entity-reference-read-only| configuration
638            parameter is removed; newly created entity references
639            are always read-only and use the |manakaiSetReadOnly| method
640            if desired.
641            (Element.manakaiBaseURI): Reimplemented (untested).
642    
643            * XDoctype.dis (createGeneralEntity, createNotation): |require|s
644            the |MDOM:XML| Perl module.
645            (DocumentTypeDefinition.___create_node_stem): Sets
646            the |tc:implementation| internal property if its value
647            is provided.  The |infoset:content| internal property name
648            was incorrect.
649            (DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on
650            read-only |NodeList| and |DOMStringList| are added
651            for clarification.
652    
653    2006-03-26  Wakaba  <wakaba@suika.fam.cx>
654    
655            * DOMCore.dis (Require): Reference to the |MDOM:TreeCore|
656            module is added.
657            (DOMStringList): Reimplemented for new |d:AttributeDefinition|
658            implementation (untested).
659    
660            * TreeCore.dis (baseURI): Reimplemented (untested).
661            (Roles): Definitions added.
662    
663            * XDoctype.dis (Require): References to the |MDOM:TreeCore|
664            and |MDOM:XML| modules are added.  Reference to the |MDOM:Tree|
665            module is removed.
666            (DocumentXDoctype): Reimplemented (untested).
667            (DocumentTypeDefinition, DocumentTypeDeclaration):
668            Reimlemented (untested).
669            (ElementTypeDefinition, AttributeDefinition): Reimplemented (untested).
670    
671            * XML.dis (FeatureDef): New features (definitions copied
672            from the |MDOM:DOMXML| module).
673            (DocumentType): New interface (definition copied from
674            the |MDOM:DOMXML| module).
675            (CDATASection, Notation, Entity, EntityReference, ProcessingInstruction):
676            Reimplemented (untested).
677            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested).
678    
679    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
680    
681            * TreeCore.dis (Document): Most methods are reimplemented (untested).
682    
683    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
684    
685            * TreeCore.dis (Document): Attributes are reimplemented (untested).
686            (Text, DocumentFragment, Comment): Most members are
687            reimplemented (untested).
688    
689    2006-03-24  Wakaba  <wakaba@suika.fam.cx>
690    
691            * DOMMain.dis (checkXMLNamesQName): Some checks are
692            removed to sync with DOM Level 3 Core specification.
693    
694            * TreeCore.dis (Element): Most methods are reimplemented (untested).
695            (GetElementsNodeList): Reimplemented (untested).
696    
697    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
698    
699            * Tree.dis (cfg:strict-document-children): The configuration
700            parameter must also affect on |manakaiAppendText|
701            and |textContent| on |Document| nodes.
702    
703            * TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass|
704            parameter changes the class to |bless|.
705            (Node): Most methods are reimplemented.  (Untested)
706            (CharacterData, Attr): Most methods and attributes are
707            reimplemented.  (Untested)
708    
709            * XML.dis, XDoctype.dis: Most |Node| methods are
710            reimplemented (untested).
711    
712    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
713    
714            * TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented
715            (untested).
716    
717    2006-03-22  Wakaba  <wakaba@suika.fam.cx>
718    
719            * DOMCore.dis (DOMSTRING_SIZE_ERR): It now has
720            a qualified name.
721    
722            * DOMMain.dis (ensureNamespacePrefix): Undefines
723            the prefix if it is an empty string.  (Note that
724            it is defined as implementation dependent in
725            DOM Level 3 Core specification).
726    
727            * TreeCore.dis (Require): It now references the |MDOM:XDoctype|
728            module.
729            (Node): Attributes are reimplemented (untested).
730    
731            * XML.dis (Require): It now references the |MDOMX:XDoctype|
732            module.
733            (Node): Attributes are reimplemented (untested).
734            (Entity, Notation): New interfaces.
735    
736            * XDoctype.dis (Node): Attributes are reimplemented (untested).
737    
738    2006-03-19  Wakaba  <wakaba@suika.fam.cx>
739    
740            * TreeCore.dis (childNodes, firstChild, lastChild,
741            nextSibling, previousSibling, appendChild, insertBefore,
742            replaceChild, removeChild, createDocumentFragment,
743            createEntityReference, createProcessingInstruction,
744            domConfig, documentElement, implementation, manakaiAppendText): New.
745            (NodeList, DocumentFragment): New interfaces.
746    
747            * XML.dis (EntityReference, ProcessingInstruction): New interface.
748    
749    2006-03-18  Wakaba  <wakaba@suika.fam.cx>
750    
751            * TreeCore.dis (Require): The |MDOM:XML| module is added.
752            (createAttributeNS, createTextNode, createComment,
753            createCDATASection): New methods.
754            (Attr, Text, Comment, CharacterData): New interfaces.
755    
756            * Makefile: |XML.dis| is added.
757    
758            * XML.dis: New module.
759    
760    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
761    
762            * TreeCore.dis (manakaiReadOnly): New attribute.
763            
764    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
765    
766            * TreeCore.dis (NodeType, nodeType, localName, namespaceURI,
767            prefix, isSameNode, ownerDocument, parentNode): New.
768            (Element): New interface.
769            (createElementNS): New method.
770            (strictErrorChecking): New.
771    
772    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
773    
774            * Makefile: |TreeCore.dis| is added.
775    
776            * TreeCore.dis: New module.
777    
778    2006-03-16  Wakaba  <wakaba@suika.fam.cx>
779    
780            * XMLParser.dis (cfg:entity-replacement-tree): New configuration
781            parameter.
782    
783            * DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|.
784    
785            * DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical
786            data types added to configuration parameters.
787    
788    2006-03-15  Wakaba  <wakaba@suika.fam.cx>
789    
790            * DOMCore.dis (c:DOMConfigurationParameter): Now it is
791            a |DISSource:ResourceProperty|.
792            (c:anyDOMConfigurationParameter): New property.
793            (CParam, boolCParam): Now they are all |dis:subsetOf|
794            the |c:anyDOMConfigurationParameter| property.
795            (ForDocument, ForParser, ForSerializer): Removed.
796    
797            * DOMLS.dis, XMLParser.dis: Likewise.
798    
799    2006-03-12  Wakaba  <wakaba@suika.fam.cx>
800    
801            * DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties
802            are removed.
803    
804            * GenericLS.pm: Added to the CVS repository since
805            it is necessary to create the |Message::Util::DIS::DPG| module.
806    
807    2006-03-10  Wakaba  <wakaba@suika.fam.cx>
808    
809            * DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New
810            method.
811    
812            * XMLParser.dis: Don't create adjacent text nodes.
813    
814    2006-03-09  Wakaba  <wakaba@suika.fam.cx>
815    
816            * DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error.
817    
818            * DOMXML.dis (appendChild, insertBefore, replaceChild): Method
819            implementations are added.
820    
821            * XDoctype.dis (appendChild, insertBefore, replaceChild): Method
822            implementations are added.
823    
824            * Tree.dis (appendChild, insertBefore, replaceChild): Method
825            implementations are added.
826            (IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass|
827            resources unless for |ManakaiDOM:ManakaiDOMLatest|.
828            (cfg:strict-document-children): New configuration parameter.
829    
830    2006-03-08  Wakaba  <wakaba@suika.fam.cx>
831    
832            * XDoctype.dis (replaceChild): Method implementations are added.
833    
834            * Tree.dis (replaceChild): Method implementations are added.
835    
836            * DOMXML.dis (replaceChild): Method implementations are added.
837    
838    2006-03-07  Wakaba  <wakaba@suika.fam.cx>
839    
840            * Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for|
841            definitions.
842    
843            * XDoctype.dis (insertBefore): New method implementation.
844    
845    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
846    
847            * DOMXML.dis (insertBefore): Method implementations
848            for |ProcessingInstruction| and |Notation| nodes are added.
849    
850            * Tree.dis (insertBefore): Method implementation
851            for |CharacterData| nodes is added.
852    
853            * XDoctype.dis (insertBefore): Method implementation
854            for |ElementTypeDefinition| nodes is added.
855    
856    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
857    
858            * XDoctype.dis (appendChild): New method implementation.
859    
860    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
861    
862            * DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
863            (REMOVE_DOCUMENT_ELEMENT_ERR): New error.
864            (REMOVE_DOCUMENT_TYPE_ERR): New error.
865    
866            * DOMXML.dis (ManakaiDOMDocumentType): Removed.
867            (ProcessingInstruction.appendChild, CDATASection.appendChild,
868            Notation.appendChild): New method implementation.
869    
870            * Tree.dis (CharacterData.appendChild): New method implementation.
871    
872            * XDoctype.dis: Tests moved from |MDOM:DOMXML| module.
873    
874    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
875    
876            * DOMXML.dis (ManakaiDOMXMLIdAttr): New class.
877    
878            * Tree.dis (createAttribute, createAttributeNS,
879            setAttribute, setAttributeNS): They now supports
880            the |cfg:xml-id| configuration parameter.
881            (cfg:xml-id): New configuration parameter.
882    
883            * XDoctype.dis (createAttributeDefinition): It now
884            supports the |cfg:xml-id| configuration parameter.
885    
886            * XMLParser.dis (parse): It now supports
887            the |cfg:xml-id| configuration parameter.
888    
889    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
890    
891            * XMLParser.dis (parse): Sets |Document.documentURI|
892            and |Document.manakaiEntityBaseURI| attributes of the
893            document created.
894            (_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
895            property of the created node.
896            (_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
897            of the created node.
898            (ls-input-to-input-file.default): Sets the resolved
899            system identifier to the |documentURI| attribute if available.
900            Sets the |baseURI| attribute if available.
901    
902    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
903    
904            * XDoctype.dis (DocumentTypeDefinition.implementation): New attribute.
905            (Node.baseURI): New attribute implementations.
906            (declarationBaseURI): Setter is added.
907            (manakaiDeclarationBaseURI): New attribute.
908    
909            * Tree.dis (Require): A reference to the |MURI:Generic|
910            module is added.
911            (Node.baseURI): The implementation is revised.
912            (getNodeReference): Attribute node classes specialized
913            to attribute names are supported.
914            (contentBaseURI, htmlBaseURI): Removed.
915            (manakaiEntityBaseURI): New attribute.
916            (ManakaiDOMImplementationDocument): It now inherits
917            the |urigen:URIImplementation| class.
918    
919            * DOMMain.dis (isRelativeDOMURI): The definition
920            of the URI scheme is synced with |Message::URI::Generic|'s
921            one.
922    
923            * DOMXML.dis (Require): A reference to |DISlib:DISMarkup|
924            module is added.
925            (DocumentType.implementation): New attribute.
926            (Node.baseURI): Implementations are added.
927            (manakaiDeclarationBaseURI): New attributes.
928            (manakaiEntityBaseURI): New attributes.
929            (manakaiEntityURI): New attribute.
930            (manakaiExternal): New attribute.
931            (manakaiBaseURI): New attribute.
932            (ManakaiDOMXMLBaseAttr): New class.
933    
934    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
935    
936            * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
937            module was missing.
938    
939            * ManakaiDOMLS2003.dis: Some property names was incorrect.
940    
941            * Makefile (distclean): New rule.
942    
943    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
944    
945            * DOMLS.dis: Removed from the CVS repository, since
946            it has been no longer required to make the |daf| system
947            itself.
948    
949    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
950    
951            * Makefile: Revised for new |daf| database format.
952    
953    2006-02-25  Wakaba  <wakaba@suika.fam.cx>
954    
955            * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
956            module is added.
957    
958    2006-02-22  Wakaba  <wakaba@suika.fam.cx>
959    
960            * DOMLS.dis: Constants were typed as |dx:ErrorCode|
961            by mistake.
962    
963    2006-02-18  Wakaba  <wakaba@suika.fam.cx>
964    
965            * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
966            feature.
967    
968            * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
969    
970            * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
971            (DOMImplementationLS.createLSParser): Implemented.
972            (DOMImplementationLS.createLSInput): Revised.
973            (LSInput): Note on relationship with |GenericLS| is added.
974    
975            * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
976    
977    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
978    
979            * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
980            is introduced.
981            (async, busy): Implemented.
982            (parseString): Removed.
983            (parse, parseURI): Implemented.
984            (xp:ls-input-to-input-file): New configuration parameter.
985            (shiftChar): Gets character from current file handle
986            rather than replacement text.  Don't normalize
987            line break characters for internal entities.  Don't
988            throw |xp:wf-legal-literal-character| error
989            for |RestrictedChar| appearing in internal entities.
990            (DISPerl:dpgDef): Call |close| for each entity filehandler.
991            (_EntityDeclaration): Copy document URI and base URI
992            to the entity's |$decl| object.
993            (ParseError): New code fragment.
994            (getCopyOfEntityState): Creates filehandle from replacement
995            text.
996            (xp-error-lines): Don't appends text if no replacement
997            text is available.
998            (error-handler): New configuration parameter application resource.
999            (ManakaiDOMLSInputToInputFile): New class.
1000            (ManakaiDOMInputFile): New class.
1001    
1002            * Tree.dis (getNodeReference): A dereferencing was missing.
1003    
1004            * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
1005    
1006    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
1007    
1008            * XMLParser.dis: Default attribute are now namespace aware.
1009            (parseString): Don't output |Document| warnings
1010            during tree construction to standard error output.
1011    
1012    2006-02-16  Wakaba  <wakaba@suika.fam.cx>
1013    
1014            * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
1015            XML Namespace 1.1 is implemented.  Namespace well-formedness
1016            error detection is implemented.  Generates |Notation| nodes
1017            from notation declarations.
1018            (checkNCName, checkQName): New code fragments.
1019    
1020            * XDoctype.dis (DocumentXDoctype): Factory methods
1021            don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
1022            is |false|.
1023    
1024            * DOMCore.dis (wf-invalid-character-in-node-name,
1025            wf-invalid-character): Removed (moved to |MDOM:Tree| module).
1026    
1027            * Tree.dis '(wf-invalid-character-in-node-name,
1028            wf-invalid-character): New errors (from |MDOM:DOMCore| module).
1029            (Attr.specified): Setter added.
1030            (cfg:dtd-default-attributes): New configuration parameter.
1031            (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
1032            if |Document.strictErrorChecking| is |false|.
1033    
1034    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
1035    
1036            * XMLParser.dis: Set |allDeclarationsProcessed|
1037            attribute of the |Document| node.  Don't process entity
1038            and attribute definition list declarations after
1039            unread parameter entity reference.  Warns if an attribute definition is
1040            ignored (|xp:warning-attribute-definition-ignored|).  Set
1041            flags whether predefined entities are declared or not.
1042            WFC error |xp:wf-pes-in-internal-subset| is implemented.
1043    
1044    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
1045    
1046            * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
1047            if a predefined entity declaration references an external entity.
1048            Issues |xp:error-malformed-predefined-entity| error if
1049            a predefined entity declaration defines different thing than
1050            one as in XML specification.  
1051            Issies |xp:warning-entity-declaration-ignored| warning if
1052            more than one entity declarations for an entity is found.
1053            (WFErrDef): Now all well-formedness errors are marked
1054            as |SEVERITY_FATAL_ERROR|.
1055    
1056            * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
1057            predefined entity declarations.
1058            (DocumentXDoctype.createNotation): New method.
1059            (DocumentTypeDefinition.notations): New attribute.
1060            (DocumentTypeDefinition.getNotationNode): New method.
1061            (DocumentTypeDefinition.setNotationNode): New method.
1062            (newNotationForTest): New code fragment.
1063    
1064            * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
1065            (c:ManakaiDOMNotationMap): New class.
1066            (c:ManakaiDOMNotationMapArray): New class.
1067            (Document.allDeclarationsProcessed): New attribute.
1068    
1069            * DOMXML.dis (DocumentType.notations): Implemented.
1070            (Notation): Revised.
1071            (Notation.ownerDocumentTypeDefinition): New attribute.
1072    
1073    2006-02-14  Wakaba  <wakaba@suika.fam.cx>
1074    
1075            * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
1076            WFC errors are implemented.  Reports a |xp:wf-syntax-error|
1077            if a parameter entity declaration contains |NDATA| keyword.
1078            (setEmptyEntityState): Set |name| attribute.
1079    
1080            * Tree.dis (createEntityReference): Don't enter into inifinite
1081            loop even if entity replacement tree contains recursive
1082            reference directly or indirectly.
1083    
1084    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
1085    
1086            * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
1087            WFC error is implemented.
1088    
1089    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
1090    
1091            * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
1092            configuration parameter |true| during tree construction
1093            to ensure default attribute value is cloned as is
1094            including entity reference subtree.
1095    
1096            * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
1097            parameter.
1098            (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
1099            configuration parameter support is added.
1100    
1101    2006-02-12  Wakaba  <wakaba@suika.fam.cx>
1102    
1103            * XMLParser.dis (parseString): General |Entity| replacement
1104            tree is not constructed because of a typo.  Clears |EntityReference|
1105            content before constructing |Entity| replacement tree.
1106            The |xp:wf-entity-declared| well-formedness constraint
1107            for entity references in attribute value literal is implemented.
1108    
1109    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
1110    
1111            * XMLParser.dis: |xp:wf-entity-declared| well-formedness
1112            constaraint for entity references that appear in
1113            content of elements is implemented.   Set |EntityReference.isExpanded|
1114            attribute.
1115            (getEmptyEntityState): New code.
1116    
1117            * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
1118            definition is removed.
1119    
1120            * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
1121            (EntityReference.isExpanded): Setter is added.
1122    
1123    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
1124    
1125            * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
1126            and |xp:wf-no-external-entity-references| well-formedness
1127            constraints are implemented.
1128    
1129    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
1130    
1131            * XMLParser.dis ($self->{has_error}): Removed.
1132            (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
1133            errors (including well-formedness constraint errors) are
1134            traped by the error handler.
1135            (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
1136            attribute of the node.  Reports an error if |publidLiteral|
1137            contains a non-|pubidChar|.
1138    
1139            * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
1140            version |3.0|).
1141            (ManakaiDOMDocumentTypeDefinition): The class no longer
1142            inherits |x:ManakaiDOMDocumentType| class.  Instead,
1143            it inherits |d:ManakaiDOMDocumentTypeDeclaration|
1144            and |t:ManakaiDOMNOde| classes.  It still implements |x:DocumentType|
1145            interface (except unimplemented |notations| and |internalSubset|
1146            attributes).
1147            (ManakaiDOMDocumentTypeDefinition.entities): New attribute
1148            for compatibility with |x:DocumentType| interface.
1149            (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
1150            (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
1151            (ManakaiDOMDocumentTypeDefinition.nodeType,
1152            ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
1153            (DocumentTypeDeclaration): New interface.
1154    
1155            * Tree.dis (Node/@f:implements): Typos fixed.
1156            (Node.MUErrorHandler): Missing |last A| statement is added.
1157            (createDocumentType): Throws an exception if |qualifiedName|
1158            is illegal.  Calls |DocumentTypeDefinition.newObject|
1159            instead of obsolete |DocumentType.newObject|.
1160    
1161            * DOMXML.dis (DocumentType.name, DocumentType.entities,
1162            DocumentType.publicId, DocumentType.systemId,
1163            DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
1164            as clones of similar attributes or methods
1165            in |MDOM:XDoctype| module.
1166            (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
1167            instead).
1168            (DocumentType.childNodes): Removed (|Node.childNodes| definition
1169            is used).
1170    
1171    2006-02-10  Wakaba  <wakaba@suika.fam.cx>
1172    
1173            * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
1174            fatal error.
1175    
1176    2006-02-09  Wakaba  <wakaba@suika.fam.cx>
1177    
1178            * XMLParser.dis (CommentDeclaration): |STRING| is now
1179            defined as a |?default-token|.
1180            (XMLTests): Tests for |Char - RestrictedChar| matchness,
1181            comment declarations, cdata sections, and |MSE| in |content|
1182            added.
1183            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
1184            (get-location-from-token): |$token->{location_d}|
1185            for |?default-token| column counting support added.
1186    
1187            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
1188    
1189    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
1190    
1191            * Tree.dis (createProcessingInstruction): Don't
1192            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
1193            is |false|.
1194    
1195            * XMLParser.dis (parseString): Initializes |$self->{location}|.
1196            It enables improved error position report.
1197            (XDO): It now includes |S+| following target name |xml| as
1198            part of the token.  (PI with target starting with |xml|
1199            was unable to be placed at the beginning of the document entity.)
1200            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
1201            a processing instruction node with |#INVALID| node name
1202            if target name is not given and recovered from the error.
1203            (S): Variable |$s| added.
1204            (XMLTests): Tests for XML declarations and processing
1205            instructions are added.  Prints error type name if unexpected
1206            error with severity of error or fatal error has been reported.
1207            Catch unexpected exceptions thrown in parser (different
1208            from |LSException|), prints its message, and invoke |$test->not_ok|
1209            for the ease of testing.
1210            (xp:get-location-from-token): Location values now take |$self->{char}|
1211            stack into acount.
1212            
1213    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
1214    
1215            * XMLParser.dis (shiftChar): Line and column number counting
1216            is fixed.  Although the DOM Level 3 Core specification
1217            is unclear about whether the first number is zero or one,
1218            in most programs the first line is "one" and
1219            the first column is "one", manakai follows the practice.
1220            (_XMLDeclaration): Don't set |xmlStandalone| value
1221            if |standalone| pseudo-attribute value is |no|.  XML declaration
1222            tests (successful cases) added.
1223            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
1224            properties.
1225    
1226    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
1227    
1228            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
1229    
1230    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
1231    
1232            * DOMCore.dis (c:erred): New property.
1233            (c:DOMErrorType): It should have been a subset
1234            of |ecore:AnyErrorCode|.
1235    
1236            * XMLParser.dis (XMLTests): Empty input tests added.
1237    
1238    2006-01-30  Wakaba  <wakaba@suika.fam.cx>
1239    
1240            * XDoctype.dis (d:Feature): New canonical feature
1241            name |fe:XDoctype| is added.
1242    
1243            * XMLParser.dis: Predefined general entity references
1244            are implemented.  Creates |Entity| nodes from general entities
1245            declared in internal subset.  |Entity| nodes created from internal
1246            general parsed entities now have replacement tree.
1247            Sets |cfg:entity-reference-read-only| flag off during
1248            the tree generation.  Some parsing rules use |$self->{doc}|
1249            rather than |$doc| parameter.  Similarly, |$self->{docx}| (document
1250            node with |fe:XDoctype| feature) and |$self->{dtdef}| are
1251            introduced.  General entity references in attribute value literal
1252            are supported.
1253    
1254    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
1255    
1256            * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
1257            parameter name changed to |cfg:entity-reference-read-only|.
1258            (createEntityReference): Set |c:read-only| flag of
1259            the created entity reference, too.
1260    
1261            * DOMLS.dis (min): New canonical feature name |fe:Min| added.
1262    
1263            * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
1264            from |DOMFeature| module instead.  Use |idl:Object|
1265            instead of |DOMMain:DOMObject| as well.
1266            (Generic): New canonical feature name |fe:GenericLS| added.
1267            (DOMLS:ParserRole, DOMLS:SerializerRole): Their
1268            canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
1269            respectively.
1270    
1271            * DOMXML.dis (entities, notations): Perl code removed.
1272            It will be reimplemented using |DocumentTypeDefinition|
1273            class from |XDoctype| module.
1274    
1275            * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
1276            Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
1277            SimpleLS.dis: Cleaned up unused definitions.
1278    
1279            * DOMCore.dis, DOMLS.dis (CParam): Definitions
1280            for LS module moved from |DOMCore| module to |DOMLS| module.
1281            This change makes |DOMCore| to |DOMLS| dependency removed.
1282    
1283            * .cvsignore (.html.pm, .ls.pm): Removed.
1284    
1285            * Makefile (.html.pm, .ls.pm): Removed.
1286            (feature.dae): Include |GenericLS| module.
1287            (core.dae): Don't include |DOMLS| and |GenericLS| module.
1288            (ls.dae): Include |DOMLS| module.
1289    
1290    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
1291    
1292            * XMLParser.dis: Tests on default attributes and their |specified|
1293            attribute are added.
1294    
1295            * XDoctype.dis (createGeneralEntity): New method.
1296            (generalEntities): New attribute.
1297            (getGeneralEntityNode, setGeneralEntityNode): New methods.
1298    
1299            * Tree.dis (ManakaiDOMEntities): Removed.
1300            (ManakaiDOMEntityMap): New class.
1301            (ManakaiDOM:entity-reference-read-only): New configuration parameter.
1302            (createEntityReference): If there is a corresponding |Entity|
1303            node in the document type definition, then copies its
1304            subtree.
1305    
1306            * DOMXML.dis (Entity): Documentation updated.
1307            (publicId, systemId, notationName, xmlEncoding,
1308            xmlVersion): These attributes are now settable
1309            if |ManakaiDOM:ManakaiDOMLatest| mode.
1310            (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
1311            mode.
1312            (ownerDocumentTypeDefinition): New attribute
1313            for |ManakaiDOM:ManakaiDOMLatest| mode.
1314            (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
1315    
1316    2006-01-28  Wakaba  <wakaba@suika.fam.cx>
1317    
1318            * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
1319    
1320            * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
1321    
1322            * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
1323            (ManakaiDOMAttributes): Removed.
1324            (ManakaiDOMAttrMap): New class.
1325            (ManakaiDOMAttrMapArray): New class.
1326            (namespaceURI): Bug to return a string representation
1327            of a reference to the namespace URI string is fixed.
1328            (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
1329            (removeAttribute, removeAttributeNS): DTD default attributes
1330            are supported.  Don't throw |NO_MODIFICATION_ALLOWED_ERR|
1331            if there is no attribute node.
1332            (createElement, createElementNS): DTD default attributes are supported.
1333            (setAttributeNode): Reimplemented.
1334    
1335    2006-01-27  Wakaba  <wakaba@suika.fam.cx>
1336    
1337            * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
1338    
1339            * Tree.dis (STORESIZE): Index bound bug fixed.
1340            (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
1341            (schemaTypeInfo): Implemented for XML DTD.
1342            (isId): Returns |true| if [attribute type] is |ID|.
1343            (setAttribute, setAttributeNS): Sets [attribute type]
1344            of the newly created |Attr| node (if any) when attribute
1345            definition is available.
1346            (doctype, documentElement): Reimplemented with tests.
1347    
1348            * XMLParser.dis: Sets [attribute type] information
1349            to created |Attr| nodes.  Normalize namespace URIs
1350            when such information are available (unlikely but legal).
1351            (_HexadecimalCharacterReference): Number to character
1352            convertion bug fixed.
1353            (_DocumentTypeDeclaration): Sets |schema-type|
1354            configuration parameter to XML DTD URI.
1355    
1356    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
1357    
1358            * XMLParser.dis (_AttlistDeclaration): Now it can generate
1359            attribute definition nodes.
1360    
1361            * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
1362            and another |UNKNOWN_ATTR| constant is introduced
1363            for consistency with XML Infoset.
1364    
1365            * DOMCore.dis (TypeInfo): Documentation updated.
1366    
1367    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
1368    
1369            * XDoctype.dis: A bug in test code fixed.
1370    
1371            * Tree.dis (NamedNodeMap): Element type or attribute
1372            definition named node maps now can be dereferenced
1373            as if they are array or hash references.
1374            (removeNamedItem, item, ___report_error): Implemented for element type
1375            or attribute definitions.
1376            (length): Tests added.
1377            (NamedNodeMapArray): New classes.
1378    
1379    2006-01-25  Wakaba  <wakaba@suika.fam.cx>
1380    
1381            * XDoctype.dis (setElementTypeDefinitionNode,
1382            setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
1383            if the new node is already used for another definition.
1384            (DocumentTypeDefinition, ElementTypeDefinition): Node
1385            property name was incorrect.
1386            (elementTypes, attributeDefinitions): Checks to
1387            ensure the collection is empty added.
1388    
1389            * Tree.dis: Property name typos fixed.
1390            (setNamedItem, setAttributeNode): Don't return any node
1391            if it replace itself.
1392            (c:userDeterminedId): Missing definition added.
1393    
1394            * DOMXML.dis (Notation): Missing property specification
1395            of|c:ownerDocument| as |mn:xrefnode0| is added.
1396    
1397    2006-01-23  Wakaba  <wakaba@suika.fam.cx>
1398    
1399            * DOMCore.dis (Test): Missing argument added.
1400            (setNamedItem): If |DocumentType| with no |ownerDocument|,
1401            addition always fails with |WRONG_DOCUMENT_ERR|.  Some
1402            error conditions were incorrect.
1403    
1404            * .cvsignore: Dummy files added.
1405    
1406    2006-01-22  Wakaba  <wakaba@suika.fam.cx>
1407    
1408            * DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR,
1409            INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes.
1410    
1411            * DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION|
1412            to avoid uninitialized value warning.
1413    
1414            * Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New
1415            classes (work in progress).
1416    
1417            * XDoctype.dis (elementTypes, attributeDefinitions): New attributes.
1418    
1419    2006-01-22  Wakaba  <wakaba@suika.fam.cx>
1420    
1421            * Tree.dis (getAttribute): Returns |null| if there
1422            is no attribute in |ManakaiDOM:DOMLatest| for compatibility
1423            with Web browser implementations.
1424            (getAttributeNS): It returned |null| if there
1425            is no attribute in any |For| unintentionally.  It now
1426            returns an empty string in DOM levels less than or equals
1427            to three.
1428    
1429            * XMLParser.dis (shiftChar): Fixed not to be warned as
1430            uninitialized value or substring out of range.
1431    
1432    2006-01-21  Wakaba  <wakaba@suika.fam.cx>
1433    
1434            * DOMXML.dis (DocumentType.childNodes): Removed
1435            from |ManakaiDOM:ManakaiDOMLatest| variant.
1436    
1437            * XMLParser.dis: Parsing of general internal entities implemented.
1438            (_DocumentTypeDeclaration): Appends a document type definition
1439            node to the document.
1440            (_ProcessingInstructionDTD): Appends a processing
1441            instruction node to the document type definition.
1442            (Element_): Document element could not be an |EmptyElemTag|.
1443    
1444    2006-01-21  Wakaba  <wakaba@suika.fam.cx>
1445    
1446            * DOMFeature.dis (featuresParamToFeaturesHash): New block
1447            code (seprated from |InputProcessor|).  Now
1448            a |features| parameter's version can be specified by
1449            an array reference that contains a set of version
1450            numbers.  A test added.
1451    
1452            * XMLParser.dis: A test added.
1453    
1454    2006-01-07  Wakaba  <wakaba@suika.fam.cx>
1455    
1456            * DOMCore.dis (Test): Don't invoke |DESTROY| method
1457            because it does not work with dummy object used in the test code.
1458    
1459    2006-01-07  Wakaba  <wakaba@suika.fam.cx>
1460    
1461            * DOMMain.dis (checkXMLNamesQName): Checks whether
1462            namespace URI is defined for not being warned.
1463    
1464            * XDoctype.dis: New module.
1465    
1466            * DOMCore.dis (DOMStringList): Test added.
1467    
1468            * Makefile: |XDoctype.pm| added.
1469    
1470            * Tree.dis (Require): Requires |XDoctype.dis|.
1471            (ManakaiDOMNodeObjectNode.eq): Added.
1472            (Test): |DOMError.location| must return a |DOMLocator|
1473            object (it was incorrectly tested to return |null|).
1474            (EmptyNodeList.DESTROY): Removed.
1475    
1476    2006-01-04  Wakaba  <wakaba@suika.fam.cx>
1477    
1478            * Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and
1479            |ATTRIBUTE_DEFINITION_NODE| node types added.
1480            (appendChild, insertBefore, replaceChild): New
1481            two node types added and processing instruction nodes
1482            as document type definition node child is allowed
1483            in |ManakaiDOM:ManakaiDOMLatest| mode.
1484            (getNodeReference): New |interface| parameter
1485            to filter classes by interface is added.
1486            (ElementTypeDefinitionRole): New role.
1487            (AttributeDefinitionRole): New role.
1488    
1489    2006-01-02  Wakaba  <wakaba@suika.fam.cx>
1490    
1491            * DOMCore.dis (DOMStringList): Reimplemented as tied array.
1492    
1493    2005-12-31  Wakaba  <wakaba@suika.fam.cx>
1494    
1495            * DOMCore.dis (DOMError.location): Returns an empty |DOMLocator|
1496            if it is not provided.
1497    
1498            * XMLParser.dis: Parsing methods to skip document
1499            type declaration is added.
1500    
1501    2005-12-29  Wakaba  <wakaba@suika.fam.cx>
1502    
1503            * XMLParser.dis (shiftChar): Checks characters are legal
1504            or not.  Normalize end-of-lines.
1505            (rule _XMLDeclaration_): Implemented.
1506            (WFErrDef): Well-formedness error |wf-syntax-error|,
1507            |wf-pi-target-is-xml|, |wf-no-end-tag|,
1508            |wf-unsupported-xml-version|, |wf-malformed-enc-name|,
1509            |wf-malformed-xml-standalone|, |wf-legal-literal-character|,
1510            |wf-element-type-match|, |wf-unique-att-spec|,
1511            |wf-legal-character| added.
1512            (%character-code-point): New formatter rule.
1513    
1514            * Tree.dis (Document.xmlEncoding): It is now read-write attribute.
1515    
1516            * DOMCore.dis (DOMError.stringify): Added.
1517            (error-handler.default): Returns |false| (don't continue)
1518            when the error severity is |SEVERITY_FATAL_ERROR|.
1519    
1520    2005-12-28  Wakaba  <wakaba@suika.fam.cx>
1521    
1522            * XMLParser.dis (DocumentEntity): Typos fixed.
1523            (|lexmode|s): New |?default-token| statements are used
1524            so that tokenizer description has been simplified
1525            and CDATA sections now can be parsed.
1526    
1527    2005-12-28  Wakaba  <wakaba@suika.fam.cx>
1528    
1529            * XMLParser.dis: Some modifications made.
1530    
1531    2005-12-27  Wakaba  <wakaba@suika.fam.cx>
1532    
1533            * DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a
1534            global named resource.
1535    
1536            * Makefile: Rules to make |XMLParser.pm| is added.
1537    
1538            * XMLParser.dis: New file.
1539    
1540    2005-12-24  Wakaba  <wakaba@suika.fam.cx>
1541    
1542            * DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error
1543            message formatter can now vary by error types.
1544            (DOMLocator.utf32Offset): New (manakai extended) attribute.
1545    
1546    2005-12-23  Wakaba  <wakaba@suika.fam.cx>
1547    
1548            * DOMCore.dis (DOMLocator): Implemented.
1549    
1550  2005-12-21  Wakaba  <wakaba@suika.fam.cx>  2005-12-21  Wakaba  <wakaba@suika.fam.cx>
1551    
1552          * DOMCore.dis (DOMConfigurationParameterApplication,          * DOMCore.dis (DOMConfigurationParameterApplication,

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.203

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24