/[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.115 by wakaba, Wed Feb 8 08:18:29 2006 UTC revision 1.175 by wakaba, Sat Apr 22 00:56:40 2006 UTC
# Line 1  Line 1 
1    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
2    
3            * DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed.
4    
5    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
6    
7            * CharacterData.dis (length, insertData, substringData,
8            appendData, deleteData, replaceData, splitText): Reimplemented.
9    
10            * DOMCore.dis (NEGATIVE_LENGTH_ERR): New error.
11            (c:index): The definition was missing.
12            (c:length): New property.
13    
14    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
15    
16            * XMLParser.dis (close): Invoke |close| method
17            rather than |close| function.
18    
19    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
20    
21            * CharacterData.dis: New module split from |TreeCore.dis|.
22    
23            * CharacterData.pm: Added to the CVS repository.
24    
25            * TreeCore.dis: The |CharacterData|, |Text|, and |Comment|
26            interfaces are removed.
27            (Require): A reference to the |MDOM:CharacterData| module
28            is added.
29    
30            * DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed.
31    
32            * DOMCore.dis (StringOutOfBoundsException): New error.
33    
34            * Makefile: |CharacterData.pm| is added.
35    
36    2006-04-09  Wakaba  <wakaba@suika.fam.cx>
37    
38            * XMLParser.dis (Require): Requires the |MCharset:Encode|
39            module.
40            (parse): Set the |inputEncoding| attribute of the generated document
41            object.
42            (resolveLSInput default implementation): The |byteStream|
43            and |encoding| attributes of the |LSInput| interface
44            are now supported.
45            (resolveLSInput): Parameters |impl| and |parser| are added.
46            (InputFile.inputEncoding): New attribute.
47    
48    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
49    
50            * Document.dis (adoptNode test): Documents were
51            made by different documents.
52    
53    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
54    
55            * XMLParser.dis: The |cfg:dtd-default-attributes| configuration
56            parameter is changed to |cfg:dtd-default-attribute|.
57    
58    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
59    
60            * TreeCore.dis: The |DOMMain:raiseException| elements
61            are replaced by |disPerl:EXCEPTION|s.
62    
63    2006-04-03  Wakaba  <wakaba@suika.fam.cx>
64    
65            * DOMMain.dis (GetPropNode, CheckReadOnly): Removed.
66    
67            * Node.dis (cfg:dtd-default-attribute): The configuration
68            parameter |cfg:dtd-default-attributes| is renamed
69            as |cfg:dtd-default-attribute|.
70            (Roles): Definitions are changed so that classes
71            that implement those classes MUST implement the |Node|
72            and its subinterfaces.
73            (cfg:dtd-attribute-type): New configuration parameter.
74    
75            * Document.dis (adoptNode): Don't throw exception
76            if |strictErrorChecking| is |false|.
77    
78            * Element.dis (setAttribute, setAttributeNS): Don't
79            set [attribute type] if the |cfg:dtd-attribute-type|
80            configuration parameter is set to |false|.
81            (removeAttribute, removeAttributeNS, removeAttributeNode): Don't
82            regenerate default attribute nodes if the |cfg:dtd-default-attribute|
83            configuration parameter is set to |false|.
84    
85    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
86    
87            * TreeStore.dis: New module.
88    
89            * Makefile: |TreeStore.dis| is added.
90    
91    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
92    
93            * XMLParser.dis: Updated so that it can be used
94            with |TreeCore.pm|, |Document.pm|, |Element.pm|,
95            and |XML.pm|.  Set the read-only flag to
96            the |DocumentType|, |Entity|, and |EntityReference| noes.
97    
98            * Node.dis (textContent): It did not handle descendant
99            element and entity reference nodes.
100    
101            * Element.dis, XML.dis (manakaiBaseURI.get): Its
102            definition has been changed to return only explicit
103            base URI specification.
104    
105            * DOMLS.dis (LSInput, LSOutput): They no longer
106            inherits the |ManakaiDOM:ManakaiDOMObject| class.
107    
108            * Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed.
109    
110            * Tree.pm, DOMXML.pm: Removed.
111    
112            * TreeCore.pm, Document.pm, Element.pm: Added
113            to the CVS repository since they are necessary to
114            build the dis library.
115    
116            * Makefile: Sync'ed to new modules disposition.
117    
118    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
119    
120            * Makefile: Rules for |Tree.pm| and |DOMXML.pm| are
121            removed.  For |Element.pm| and |Document.pm| are added.
122    
123            * Document.dis, Element.dis: New module split from |TreeCore.dis|.
124    
125            * TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed.
126    
127    2006-04-01  Wakaba  <wakaba@suika.fam.cx>
128    
129            * DOMFeature.dis (getImplementation, getImplementationList): Support
130            for new class information variables.
131            (DOMLS:Generic): This old feature name is removed.
132    
133            * GenericLS.dis (createGLSParser, createGLSSerializer): Support
134            for new class information variables.
135    
136            * TreeCore.dis (manakaiExpandedURI): New attribute.
137            (Document, Element.___create_node_ref): New method
138            implementations.
139    
140    2006-04-01  Wakaba  <wakaba@suika.fam.cx>
141    
142            * TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode):
143            Reimplemented.
144            (isId): Setter is added.
145            (Element.normalize): Definition copied from the |MDOM:Tree|
146            module.
147    
148    2006-03-31  Wakaba  <wakaba@suika.fam.cx>
149    
150            * Makefile (clean-db): New rule.
151    
152            * TreeCore.dis (setUserData): Schedule to invoke
153            the user data handler when the node is removed
154            from the memory.
155            (setAttribute, setAttributeNS): Set the [attribute type]
156            if DTD attribute definition is available.
157            (CharacterData members): Definitions copied from
158            the |MDOM:Tree| module.
159    
160    2006-03-31  Wakaba  <wakaba@suika.fam.cx>
161    
162            * DOMCore.dis (DOMStringList.==): New overloaded operator.
163    
164            * DOMFeature.dis (ManakaiHasFeatureByGetFeature): The
165            class did not implement the |GetFeature| interface.
166            (hasFeature): The |+| prefix was not taken into account.
167    
168            * TreeCore.dis (Node): The class now inherits
169            the |ManakaiHasFeatureByGetFeature| class.  It now
170            implements the |f:GetFeature| and |ecore:MUErrorTarget|
171            interfaces.
172            (CreateNodeRefMethod): The |mg:nodeRefInterfaces| option
173            is supported.
174            (lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented.
175            (manakaiParentElement): New attribute.
176    
177            * XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype|
178            is removed.
179            (lookupPrefix): Old method implementation is removed.
180    
181            * XML.dis (CDATASection): The |mg:NodeRefRole| was
182            missing because of the |DISCore:stopISARecursive| property.
183    
184            * TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis:
185            They now pass all tests included in those modules!
186    
187    2006-03-30  Wakaba  <wakaba@suika.fam.cx>
188    
189            * DOMCore.dis (Require): A reference to the |MURI:Generic|
190            module is added.
191            (ManakaiDOMStringList.DESTROY): Removed (no longer necessary).
192            (ManakaiDOMImplementation): It now inherits
193            the |urigen:ManakaiURIImplementation| class and
194            implements the |ecore:MUErrorTarget| interface.  It no
195            longer inherits the |ManakaiDOM:ManakaiDOMObject| class.
196            (ManakaiDOMImplementation.___report_error): New method.
197    
198            * DOMFeature.dis (Require): It now references the |Util:Grove|
199            module instead of |Util:ManakaiNode| module.
200            (DOMMetaImpl:ManakaiDOMImplementationRole): Removed.
201            (f:ManakaiMinimumImplementationCompatible): New role.
202            (ManakaiMinimumImplementation): Now it is built
203            on the new |Util:Grove| module rather than the |Util:ManakaiNode|
204            module.
205            (f:getFeatureImpl): Moved from the |MDOM:TreeCore| module.
206            (c:implementation): Removed.
207            (f:implementation, f:revImplementation): New properties.
208    
209            * DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed.
210    
211            * Tree.dis (cfg:clone-entity-reference-subtree,
212            cfg:dtd-default-attributes, cfg:xml-id,
213            cfg:strict-document-children): Removed (moved
214            to the |MDOM:TreeCore| module).
215    
216            * TreeCore.dis (Require): The reference to the |MURI:Generic|
217            module is removed.
218            (ManakaiDOMImplementationTC): Some members are removed
219            since they are incorporated to the |c:ManakaiDOMImplementation|
220            or the |f:ManakaiMinimumImplementation|.
221            (tc:nodeRefClass): Removed (moved to the |Util:Grove| module).
222            (replaceChildImpl1): A typo on the removing the parent node
223            of the old child node is fixed.
224            (f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature|
225            module).
226            (tc:implementation, tc:revImplementation): Removed (moved
227            to the |MDOM:DOMFeature| module).
228            (Document.appendChild, insertBefore, replaceChild): Sets
229            the |ownerDocument| attribute of the |tx:DocumentType| nodes.
230            (Attr.prefix, Element.prefix): Don't raise "uninitialized"
231            when the new value is |null|.
232            (Attr.___create_node_ref): Attribute name and
233            owner element type specific classes are supported (it
234            was partially implemented but was incorrect).
235            (ManakaiDOMGetElementsNodeList.item): Don't return
236            a node if the |index| is negative.
237            (setNamedItem): Various typos are fixed.
238            (removeNamedItem): The node was not removed orz
239            (cfg:clone-entity-reference-subtree,
240            cfg:dtd-default-attributes, cfg:xml-id,
241            cfg:strict-document-children): Definitions are moved
242            from the |MDOM:Tree| module.  Note that the tests for default
243            attributes still fail.
244            (ErrDef, IntPropDef): Moved from the |MDOM:Tree| module.
245            (Attr): Role name was incorrect.
246    
247            * XDoctype.dis (setDefinitionNode): Return value was
248            not set.
249            (AttributeDefinition): Role name was incorrect.
250    
251            * XML.dis (Require): A reference to the |DISlib:DISMarkup|
252            module is added.
253            (Notation.appendChild, insertBefore, replaceChild): New method
254            implementations.
255            (Entity.appendChild, insertBefore, replaceChild): New method
256            implementations.
257            (EntityReference.appendChild, insertBefore, replaceChild): Now
258            they are defined as copies of ones in the |Entity| class.
259            (XMLBaseAttribute, XMLIdAttribute): Now they are
260            namespace unaware attributes.
261            (XMLBaseAttributeNS, XMLIdAttributeNS): New attributes.
262            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References
263            to namespace aware attributes are added.
264    
265    2006-03-29  Wakaba  <wakaba@suika.fam.cx>
266    
267            * DOMCore.dis: Namespace prefixes are changed to new ones.
268    
269            * TreeCore.dis (createDocument, createDocumentType): Reimplemented (but
270            untested).
271            (___report_error): Reimplemented (untested).
272            (manakaiSetReadOnly): New method.
273            (Attr.___create_node_ref): New method (untested).
274            (Document.getFeature): |require|s the |MDOM:XML| Perl module.
275            (createEntityReference, cloneNode): Support for
276            the |cfg:entity-reference-read-only| configuration
277            parameter is removed; newly created entity references
278            are always read-only and use the |manakaiSetReadOnly| method
279            if desired.
280            (Element.manakaiBaseURI): Reimplemented (untested).
281    
282            * XDoctype.dis (createGeneralEntity, createNotation): |require|s
283            the |MDOM:XML| Perl module.
284            (DocumentTypeDefinition.___create_node_stem): Sets
285            the |tc:implementation| internal property if its value
286            is provided.  The |infoset:content| internal property name
287            was incorrect.
288            (DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on
289            read-only |NodeList| and |DOMStringList| are added
290            for clarification.
291    
292    2006-03-26  Wakaba  <wakaba@suika.fam.cx>
293    
294            * DOMCore.dis (Require): Reference to the |MDOM:TreeCore|
295            module is added.
296            (DOMStringList): Reimplemented for new |d:AttributeDefinition|
297            implementation (untested).
298    
299            * TreeCore.dis (baseURI): Reimplemented (untested).
300            (Roles): Definitions added.
301    
302            * XDoctype.dis (Require): References to the |MDOM:TreeCore|
303            and |MDOM:XML| modules are added.  Reference to the |MDOM:Tree|
304            module is removed.
305            (DocumentXDoctype): Reimplemented (untested).
306            (DocumentTypeDefinition, DocumentTypeDeclaration):
307            Reimlemented (untested).
308            (ElementTypeDefinition, AttributeDefinition): Reimplemented (untested).
309    
310            * XML.dis (FeatureDef): New features (definitions copied
311            from the |MDOM:DOMXML| module).
312            (DocumentType): New interface (definition copied from
313            the |MDOM:DOMXML| module).
314            (CDATASection, Notation, Entity, EntityReference, ProcessingInstruction):
315            Reimplemented (untested).
316            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested).
317    
318    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
319    
320            * TreeCore.dis (Document): Most methods are reimplemented (untested).
321    
322    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
323    
324            * TreeCore.dis (Document): Attributes are reimplemented (untested).
325            (Text, DocumentFragment, Comment): Most members are
326            reimplemented (untested).
327    
328    2006-03-24  Wakaba  <wakaba@suika.fam.cx>
329    
330            * DOMMain.dis (checkXMLNamesQName): Some checks are
331            removed to sync with DOM Level 3 Core specification.
332    
333            * TreeCore.dis (Element): Most methods are reimplemented (untested).
334            (GetElementsNodeList): Reimplemented (untested).
335    
336    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
337    
338            * Tree.dis (cfg:strict-document-children): The configuration
339            parameter must also affect on |manakaiAppendText|
340            and |textContent| on |Document| nodes.
341    
342            * TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass|
343            parameter changes the class to |bless|.
344            (Node): Most methods are reimplemented.  (Untested)
345            (CharacterData, Attr): Most methods and attributes are
346            reimplemented.  (Untested)
347    
348            * XML.dis, XDoctype.dis: Most |Node| methods are
349            reimplemented (untested).
350    
351    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
352    
353            * TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented
354            (untested).
355    
356    2006-03-22  Wakaba  <wakaba@suika.fam.cx>
357    
358            * DOMCore.dis (DOMSTRING_SIZE_ERR): It now has
359            a qualified name.
360    
361            * DOMMain.dis (ensureNamespacePrefix): Undefines
362            the prefix if it is an empty string.  (Note that
363            it is defined as implementation dependent in
364            DOM Level 3 Core specification).
365    
366            * TreeCore.dis (Require): It now references the |MDOM:XDoctype|
367            module.
368            (Node): Attributes are reimplemented (untested).
369    
370            * XML.dis (Require): It now references the |MDOMX:XDoctype|
371            module.
372            (Node): Attributes are reimplemented (untested).
373            (Entity, Notation): New interfaces.
374    
375            * XDoctype.dis (Node): Attributes are reimplemented (untested).
376    
377    2006-03-19  Wakaba  <wakaba@suika.fam.cx>
378    
379            * TreeCore.dis (childNodes, firstChild, lastChild,
380            nextSibling, previousSibling, appendChild, insertBefore,
381            replaceChild, removeChild, createDocumentFragment,
382            createEntityReference, createProcessingInstruction,
383            domConfig, documentElement, implementation, manakaiAppendText): New.
384            (NodeList, DocumentFragment): New interfaces.
385    
386            * XML.dis (EntityReference, ProcessingInstruction): New interface.
387    
388    2006-03-18  Wakaba  <wakaba@suika.fam.cx>
389    
390            * TreeCore.dis (Require): The |MDOM:XML| module is added.
391            (createAttributeNS, createTextNode, createComment,
392            createCDATASection): New methods.
393            (Attr, Text, Comment, CharacterData): New interfaces.
394    
395            * Makefile: |XML.dis| is added.
396    
397            * XML.dis: New module.
398    
399    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
400    
401            * TreeCore.dis (manakaiReadOnly): New attribute.
402            
403    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
404    
405            * TreeCore.dis (NodeType, nodeType, localName, namespaceURI,
406            prefix, isSameNode, ownerDocument, parentNode): New.
407            (Element): New interface.
408            (createElementNS): New method.
409            (strictErrorChecking): New.
410    
411    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
412    
413            * Makefile: |TreeCore.dis| is added.
414    
415            * TreeCore.dis: New module.
416    
417    2006-03-16  Wakaba  <wakaba@suika.fam.cx>
418    
419            * XMLParser.dis (cfg:entity-replacement-tree): New configuration
420            parameter.
421    
422            * DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|.
423    
424            * DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical
425            data types added to configuration parameters.
426    
427    2006-03-15  Wakaba  <wakaba@suika.fam.cx>
428    
429            * DOMCore.dis (c:DOMConfigurationParameter): Now it is
430            a |DISSource:ResourceProperty|.
431            (c:anyDOMConfigurationParameter): New property.
432            (CParam, boolCParam): Now they are all |dis:subsetOf|
433            the |c:anyDOMConfigurationParameter| property.
434            (ForDocument, ForParser, ForSerializer): Removed.
435    
436            * DOMLS.dis, XMLParser.dis: Likewise.
437    
438    2006-03-12  Wakaba  <wakaba@suika.fam.cx>
439    
440            * DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties
441            are removed.
442    
443            * GenericLS.pm: Added to the CVS repository since
444            it is necessary to create the |Message::Util::DIS::DPG| module.
445    
446    2006-03-10  Wakaba  <wakaba@suika.fam.cx>
447    
448            * DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New
449            method.
450    
451            * XMLParser.dis: Don't create adjacent text nodes.
452    
453    2006-03-09  Wakaba  <wakaba@suika.fam.cx>
454    
455            * DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error.
456    
457            * DOMXML.dis (appendChild, insertBefore, replaceChild): Method
458            implementations are added.
459    
460            * XDoctype.dis (appendChild, insertBefore, replaceChild): Method
461            implementations are added.
462    
463            * Tree.dis (appendChild, insertBefore, replaceChild): Method
464            implementations are added.
465            (IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass|
466            resources unless for |ManakaiDOM:ManakaiDOMLatest|.
467            (cfg:strict-document-children): New configuration parameter.
468    
469    2006-03-08  Wakaba  <wakaba@suika.fam.cx>
470    
471            * XDoctype.dis (replaceChild): Method implementations are added.
472    
473            * Tree.dis (replaceChild): Method implementations are added.
474    
475            * DOMXML.dis (replaceChild): Method implementations are added.
476    
477    2006-03-07  Wakaba  <wakaba@suika.fam.cx>
478    
479            * Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for|
480            definitions.
481    
482            * XDoctype.dis (insertBefore): New method implementation.
483    
484    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
485    
486            * DOMXML.dis (insertBefore): Method implementations
487            for |ProcessingInstruction| and |Notation| nodes are added.
488    
489            * Tree.dis (insertBefore): Method implementation
490            for |CharacterData| nodes is added.
491    
492            * XDoctype.dis (insertBefore): Method implementation
493            for |ElementTypeDefinition| nodes is added.
494    
495    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
496    
497            * XDoctype.dis (appendChild): New method implementation.
498    
499    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
500    
501            * DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
502            (REMOVE_DOCUMENT_ELEMENT_ERR): New error.
503            (REMOVE_DOCUMENT_TYPE_ERR): New error.
504    
505            * DOMXML.dis (ManakaiDOMDocumentType): Removed.
506            (ProcessingInstruction.appendChild, CDATASection.appendChild,
507            Notation.appendChild): New method implementation.
508    
509            * Tree.dis (CharacterData.appendChild): New method implementation.
510    
511            * XDoctype.dis: Tests moved from |MDOM:DOMXML| module.
512    
513    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
514    
515            * DOMXML.dis (ManakaiDOMXMLIdAttr): New class.
516    
517            * Tree.dis (createAttribute, createAttributeNS,
518            setAttribute, setAttributeNS): They now supports
519            the |cfg:xml-id| configuration parameter.
520            (cfg:xml-id): New configuration parameter.
521    
522            * XDoctype.dis (createAttributeDefinition): It now
523            supports the |cfg:xml-id| configuration parameter.
524    
525            * XMLParser.dis (parse): It now supports
526            the |cfg:xml-id| configuration parameter.
527    
528    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
529    
530            * XMLParser.dis (parse): Sets |Document.documentURI|
531            and |Document.manakaiEntityBaseURI| attributes of the
532            document created.
533            (_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
534            property of the created node.
535            (_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
536            of the created node.
537            (ls-input-to-input-file.default): Sets the resolved
538            system identifier to the |documentURI| attribute if available.
539            Sets the |baseURI| attribute if available.
540    
541    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
542    
543            * XDoctype.dis (DocumentTypeDefinition.implementation): New attribute.
544            (Node.baseURI): New attribute implementations.
545            (declarationBaseURI): Setter is added.
546            (manakaiDeclarationBaseURI): New attribute.
547    
548            * Tree.dis (Require): A reference to the |MURI:Generic|
549            module is added.
550            (Node.baseURI): The implementation is revised.
551            (getNodeReference): Attribute node classes specialized
552            to attribute names are supported.
553            (contentBaseURI, htmlBaseURI): Removed.
554            (manakaiEntityBaseURI): New attribute.
555            (ManakaiDOMImplementationDocument): It now inherits
556            the |urigen:URIImplementation| class.
557    
558            * DOMMain.dis (isRelativeDOMURI): The definition
559            of the URI scheme is synced with |Message::URI::Generic|'s
560            one.
561    
562            * DOMXML.dis (Require): A reference to |DISlib:DISMarkup|
563            module is added.
564            (DocumentType.implementation): New attribute.
565            (Node.baseURI): Implementations are added.
566            (manakaiDeclarationBaseURI): New attributes.
567            (manakaiEntityBaseURI): New attributes.
568            (manakaiEntityURI): New attribute.
569            (manakaiExternal): New attribute.
570            (manakaiBaseURI): New attribute.
571            (ManakaiDOMXMLBaseAttr): New class.
572    
573    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
574    
575            * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
576            module was missing.
577    
578            * ManakaiDOMLS2003.dis: Some property names was incorrect.
579    
580            * Makefile (distclean): New rule.
581    
582    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
583    
584            * DOMLS.dis: Removed from the CVS repository, since
585            it has been no longer required to make the |daf| system
586            itself.
587    
588    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
589    
590            * Makefile: Revised for new |daf| database format.
591    
592    2006-02-25  Wakaba  <wakaba@suika.fam.cx>
593    
594            * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
595            module is added.
596    
597    2006-02-22  Wakaba  <wakaba@suika.fam.cx>
598    
599            * DOMLS.dis: Constants were typed as |dx:ErrorCode|
600            by mistake.
601    
602    2006-02-18  Wakaba  <wakaba@suika.fam.cx>
603    
604            * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
605            feature.
606    
607            * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
608    
609            * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
610            (DOMImplementationLS.createLSParser): Implemented.
611            (DOMImplementationLS.createLSInput): Revised.
612            (LSInput): Note on relationship with |GenericLS| is added.
613    
614            * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
615    
616    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
617    
618            * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
619            is introduced.
620            (async, busy): Implemented.
621            (parseString): Removed.
622            (parse, parseURI): Implemented.
623            (xp:ls-input-to-input-file): New configuration parameter.
624            (shiftChar): Gets character from current file handle
625            rather than replacement text.  Don't normalize
626            line break characters for internal entities.  Don't
627            throw |xp:wf-legal-literal-character| error
628            for |RestrictedChar| appearing in internal entities.
629            (DISPerl:dpgDef): Call |close| for each entity filehandler.
630            (_EntityDeclaration): Copy document URI and base URI
631            to the entity's |$decl| object.
632            (ParseError): New code fragment.
633            (getCopyOfEntityState): Creates filehandle from replacement
634            text.
635            (xp-error-lines): Don't appends text if no replacement
636            text is available.
637            (error-handler): New configuration parameter application resource.
638            (ManakaiDOMLSInputToInputFile): New class.
639            (ManakaiDOMInputFile): New class.
640    
641            * Tree.dis (getNodeReference): A dereferencing was missing.
642    
643            * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
644    
645    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
646    
647            * XMLParser.dis: Default attribute are now namespace aware.
648            (parseString): Don't output |Document| warnings
649            during tree construction to standard error output.
650    
651    2006-02-16  Wakaba  <wakaba@suika.fam.cx>
652    
653            * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
654            XML Namespace 1.1 is implemented.  Namespace well-formedness
655            error detection is implemented.  Generates |Notation| nodes
656            from notation declarations.
657            (checkNCName, checkQName): New code fragments.
658    
659            * XDoctype.dis (DocumentXDoctype): Factory methods
660            don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
661            is |false|.
662    
663            * DOMCore.dis (wf-invalid-character-in-node-name,
664            wf-invalid-character): Removed (moved to |MDOM:Tree| module).
665    
666            * Tree.dis '(wf-invalid-character-in-node-name,
667            wf-invalid-character): New errors (from |MDOM:DOMCore| module).
668            (Attr.specified): Setter added.
669            (cfg:dtd-default-attributes): New configuration parameter.
670            (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
671            if |Document.strictErrorChecking| is |false|.
672    
673    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
674    
675            * XMLParser.dis: Set |allDeclarationsProcessed|
676            attribute of the |Document| node.  Don't process entity
677            and attribute definition list declarations after
678            unread parameter entity reference.  Warns if an attribute definition is
679            ignored (|xp:warning-attribute-definition-ignored|).  Set
680            flags whether predefined entities are declared or not.
681            WFC error |xp:wf-pes-in-internal-subset| is implemented.
682    
683    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
684    
685            * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
686            if a predefined entity declaration references an external entity.
687            Issues |xp:error-malformed-predefined-entity| error if
688            a predefined entity declaration defines different thing than
689            one as in XML specification.  
690            Issies |xp:warning-entity-declaration-ignored| warning if
691            more than one entity declarations for an entity is found.
692            (WFErrDef): Now all well-formedness errors are marked
693            as |SEVERITY_FATAL_ERROR|.
694    
695            * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
696            predefined entity declarations.
697            (DocumentXDoctype.createNotation): New method.
698            (DocumentTypeDefinition.notations): New attribute.
699            (DocumentTypeDefinition.getNotationNode): New method.
700            (DocumentTypeDefinition.setNotationNode): New method.
701            (newNotationForTest): New code fragment.
702    
703            * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
704            (c:ManakaiDOMNotationMap): New class.
705            (c:ManakaiDOMNotationMapArray): New class.
706            (Document.allDeclarationsProcessed): New attribute.
707    
708            * DOMXML.dis (DocumentType.notations): Implemented.
709            (Notation): Revised.
710            (Notation.ownerDocumentTypeDefinition): New attribute.
711    
712    2006-02-14  Wakaba  <wakaba@suika.fam.cx>
713    
714            * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
715            WFC errors are implemented.  Reports a |xp:wf-syntax-error|
716            if a parameter entity declaration contains |NDATA| keyword.
717            (setEmptyEntityState): Set |name| attribute.
718    
719            * Tree.dis (createEntityReference): Don't enter into inifinite
720            loop even if entity replacement tree contains recursive
721            reference directly or indirectly.
722    
723    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
724    
725            * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
726            WFC error is implemented.
727    
728    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
729    
730            * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
731            configuration parameter |true| during tree construction
732            to ensure default attribute value is cloned as is
733            including entity reference subtree.
734    
735            * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
736            parameter.
737            (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
738            configuration parameter support is added.
739    
740    2006-02-12  Wakaba  <wakaba@suika.fam.cx>
741    
742            * XMLParser.dis (parseString): General |Entity| replacement
743            tree is not constructed because of a typo.  Clears |EntityReference|
744            content before constructing |Entity| replacement tree.
745            The |xp:wf-entity-declared| well-formedness constraint
746            for entity references in attribute value literal is implemented.
747    
748    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
749    
750            * XMLParser.dis: |xp:wf-entity-declared| well-formedness
751            constaraint for entity references that appear in
752            content of elements is implemented.   Set |EntityReference.isExpanded|
753            attribute.
754            (getEmptyEntityState): New code.
755    
756            * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
757            definition is removed.
758    
759            * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
760            (EntityReference.isExpanded): Setter is added.
761    
762    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
763    
764            * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
765            and |xp:wf-no-external-entity-references| well-formedness
766            constraints are implemented.
767    
768    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
769    
770            * XMLParser.dis ($self->{has_error}): Removed.
771            (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
772            errors (including well-formedness constraint errors) are
773            traped by the error handler.
774            (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
775            attribute of the node.  Reports an error if |publidLiteral|
776            contains a non-|pubidChar|.
777    
778            * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
779            version |3.0|).
780            (ManakaiDOMDocumentTypeDefinition): The class no longer
781            inherits |x:ManakaiDOMDocumentType| class.  Instead,
782            it inherits |d:ManakaiDOMDocumentTypeDeclaration|
783            and |t:ManakaiDOMNOde| classes.  It still implements |x:DocumentType|
784            interface (except unimplemented |notations| and |internalSubset|
785            attributes).
786            (ManakaiDOMDocumentTypeDefinition.entities): New attribute
787            for compatibility with |x:DocumentType| interface.
788            (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
789            (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
790            (ManakaiDOMDocumentTypeDefinition.nodeType,
791            ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
792            (DocumentTypeDeclaration): New interface.
793    
794            * Tree.dis (Node/@f:implements): Typos fixed.
795            (Node.MUErrorHandler): Missing |last A| statement is added.
796            (createDocumentType): Throws an exception if |qualifiedName|
797            is illegal.  Calls |DocumentTypeDefinition.newObject|
798            instead of obsolete |DocumentType.newObject|.
799    
800            * DOMXML.dis (DocumentType.name, DocumentType.entities,
801            DocumentType.publicId, DocumentType.systemId,
802            DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
803            as clones of similar attributes or methods
804            in |MDOM:XDoctype| module.
805            (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
806            instead).
807            (DocumentType.childNodes): Removed (|Node.childNodes| definition
808            is used).
809    
810    2006-02-10  Wakaba  <wakaba@suika.fam.cx>
811    
812            * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
813            fatal error.
814    
815    2006-02-09  Wakaba  <wakaba@suika.fam.cx>
816    
817            * XMLParser.dis (CommentDeclaration): |STRING| is now
818            defined as a |?default-token|.
819            (XMLTests): Tests for |Char - RestrictedChar| matchness,
820            comment declarations, cdata sections, and |MSE| in |content|
821            added.
822            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
823            (get-location-from-token): |$token->{location_d}|
824            for |?default-token| column counting support added.
825    
826            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
827    
828    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
829    
830            * Tree.dis (createProcessingInstruction): Don't
831            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
832            is |false|.
833    
834            * XMLParser.dis (parseString): Initializes |$self->{location}|.
835            It enables improved error position report.
836            (XDO): It now includes |S+| following target name |xml| as
837            part of the token.  (PI with target starting with |xml|
838            was unable to be placed at the beginning of the document entity.)
839            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
840            a processing instruction node with |#INVALID| node name
841            if target name is not given and recovered from the error.
842            (S): Variable |$s| added.
843            (XMLTests): Tests for XML declarations and processing
844            instructions are added.  Prints error type name if unexpected
845            error with severity of error or fatal error has been reported.
846            Catch unexpected exceptions thrown in parser (different
847            from |LSException|), prints its message, and invoke |$test->not_ok|
848            for the ease of testing.
849            (xp:get-location-from-token): Location values now take |$self->{char}|
850            stack into acount.
851            
852    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
853    
854            * XMLParser.dis (shiftChar): Line and column number counting
855            is fixed.  Although the DOM Level 3 Core specification
856            is unclear about whether the first number is zero or one,
857            in most programs the first line is "one" and
858            the first column is "one", manakai follows the practice.
859            (_XMLDeclaration): Don't set |xmlStandalone| value
860            if |standalone| pseudo-attribute value is |no|.  XML declaration
861            tests (successful cases) added.
862            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
863            properties.
864    
865  2006-02-08  Wakaba  <wakaba@suika.fam.cx>  2006-02-08  Wakaba  <wakaba@suika.fam.cx>
866    
867          * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.          * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.175

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24