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

Legend:
Removed from v.1.105  
changed lines
  Added in v.1.156

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24