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

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.179

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24