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

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.142

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24