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

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.199

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24