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

Legend:
Removed from v.1.113  
changed lines
  Added in v.1.165

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24