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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24