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

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.160

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24