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

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.259

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24