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

Legend:
Removed from v.1.108  
changed lines
  Added in v.1.167

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24