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

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

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

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24