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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24