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

Legend:
Removed from v.1.105  
changed lines
  Added in v.1.212

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24