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

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.159

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24