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

Legend:
Removed from v.1.113  
changed lines
  Added in v.1.245

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24