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

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.204

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24