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

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.208

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24