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

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.244

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24