/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Diff of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24