/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Diff of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24