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

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.141

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24