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

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.147

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24