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

Legend:
Removed from v.1.90  
changed lines
  Added in v.1.237

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24