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

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.226

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24