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

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.146

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24