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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24