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

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.256

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24