/[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.116 by wakaba, Wed Feb 8 09:49:58 2006 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>  2006-02-08  Wakaba  <wakaba@suika.fam.cx>
667    
668          * XMLParser.dis (shiftChar): Line and column number counting          * XMLParser.dis (shiftChar): Line and column number counting

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24