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

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.140

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24