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

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.224

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24