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

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.144

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24