/[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.99 by wakaba, Sat Dec 31 12:21:14 2005 UTC revision 1.124 by wakaba, Mon Feb 13 08:33:54 2006 UTC
# Line 1  Line 1 
1    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
2    
3            * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
4            configuration parameter |true| during tree construction
5            to ensure default attribute value is cloned as is
6            including entity reference subtree.
7    
8            * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
9            parameter.
10            (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
11            configuration parameter support is added.
12    
13    2006-02-12  Wakaba  <wakaba@suika.fam.cx>
14    
15            * XMLParser.dis (parseString): General |Entity| replacement
16            tree is not constructed because of a typo.  Clears |EntityReference|
17            content before constructing |Entity| replacement tree.
18            The |xp:wf-entity-declared| well-formedness constraint
19            for entity references in attribute value literal is implemented.
20    
21    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
22    
23            * XMLParser.dis: |xp:wf-entity-declared| well-formedness
24            constaraint for entity references that appear in
25            content of elements is implemented.   Set |EntityReference.isExpanded|
26            attribute.
27            (getEmptyEntityState): New code.
28    
29            * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
30            definition is removed.
31    
32            * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
33            (EntityReference.isExpanded): Setter is added.
34    
35    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
36    
37            * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
38            and |xp:wf-no-external-entity-references| well-formedness
39            constraints are implemented.
40    
41    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
42    
43            * XMLParser.dis ($self->{has_error}): Removed.
44            (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
45            errors (including well-formedness constraint errors) are
46            traped by the error handler.
47            (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
48            attribute of the node.  Reports an error if |publidLiteral|
49            contains a non-|pubidChar|.
50    
51            * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
52            version |3.0|).
53            (ManakaiDOMDocumentTypeDefinition): The class no longer
54            inherits |x:ManakaiDOMDocumentType| class.  Instead,
55            it inherits |d:ManakaiDOMDocumentTypeDeclaration|
56            and |t:ManakaiDOMNOde| classes.  It still implements |x:DocumentType|
57            interface (except unimplemented |notations| and |internalSubset|
58            attributes).
59            (ManakaiDOMDocumentTypeDefinition.entities): New attribute
60            for compatibility with |x:DocumentType| interface.
61            (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
62            (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
63            (ManakaiDOMDocumentTypeDefinition.nodeType,
64            ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
65            (DocumentTypeDeclaration): New interface.
66    
67            * Tree.dis (Node/@f:implements): Typos fixed.
68            (Node.MUErrorHandler): Missing |last A| statement is added.
69            (createDocumentType): Throws an exception if |qualifiedName|
70            is illegal.  Calls |DocumentTypeDefinition.newObject|
71            instead of obsolete |DocumentType.newObject|.
72    
73            * DOMXML.dis (DocumentType.name, DocumentType.entities,
74            DocumentType.publicId, DocumentType.systemId,
75            DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
76            as clones of similar attributes or methods
77            in |MDOM:XDoctype| module.
78            (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
79            instead).
80            (DocumentType.childNodes): Removed (|Node.childNodes| definition
81            is used).
82    
83    2006-02-10  Wakaba  <wakaba@suika.fam.cx>
84    
85            * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
86            fatal error.
87    
88    2006-02-09  Wakaba  <wakaba@suika.fam.cx>
89    
90            * XMLParser.dis (CommentDeclaration): |STRING| is now
91            defined as a |?default-token|.
92            (XMLTests): Tests for |Char - RestrictedChar| matchness,
93            comment declarations, cdata sections, and |MSE| in |content|
94            added.
95            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
96            (get-location-from-token): |$token->{location_d}|
97            for |?default-token| column counting support added.
98    
99            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
100    
101    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
102    
103            * Tree.dis (createProcessingInstruction): Don't
104            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
105            is |false|.
106    
107            * XMLParser.dis (parseString): Initializes |$self->{location}|.
108            It enables improved error position report.
109            (XDO): It now includes |S+| following target name |xml| as
110            part of the token.  (PI with target starting with |xml|
111            was unable to be placed at the beginning of the document entity.)
112            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
113            a processing instruction node with |#INVALID| node name
114            if target name is not given and recovered from the error.
115            (S): Variable |$s| added.
116            (XMLTests): Tests for XML declarations and processing
117            instructions are added.  Prints error type name if unexpected
118            error with severity of error or fatal error has been reported.
119            Catch unexpected exceptions thrown in parser (different
120            from |LSException|), prints its message, and invoke |$test->not_ok|
121            for the ease of testing.
122            (xp:get-location-from-token): Location values now take |$self->{char}|
123            stack into acount.
124            
125    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
126    
127            * XMLParser.dis (shiftChar): Line and column number counting
128            is fixed.  Although the DOM Level 3 Core specification
129            is unclear about whether the first number is zero or one,
130            in most programs the first line is "one" and
131            the first column is "one", manakai follows the practice.
132            (_XMLDeclaration): Don't set |xmlStandalone| value
133            if |standalone| pseudo-attribute value is |no|.  XML declaration
134            tests (successful cases) added.
135            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
136            properties.
137    
138    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
139    
140            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
141    
142    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
143    
144            * DOMCore.dis (c:erred): New property.
145            (c:DOMErrorType): It should have been a subset
146            of |ecore:AnyErrorCode|.
147    
148            * XMLParser.dis (XMLTests): Empty input tests added.
149    
150    2006-01-30  Wakaba  <wakaba@suika.fam.cx>
151    
152            * XDoctype.dis (d:Feature): New canonical feature
153            name |fe:XDoctype| is added.
154    
155            * XMLParser.dis: Predefined general entity references
156            are implemented.  Creates |Entity| nodes from general entities
157            declared in internal subset.  |Entity| nodes created from internal
158            general parsed entities now have replacement tree.
159            Sets |cfg:entity-reference-read-only| flag off during
160            the tree generation.  Some parsing rules use |$self->{doc}|
161            rather than |$doc| parameter.  Similarly, |$self->{docx}| (document
162            node with |fe:XDoctype| feature) and |$self->{dtdef}| are
163            introduced.  General entity references in attribute value literal
164            are supported.
165    
166    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
167    
168            * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
169            parameter name changed to |cfg:entity-reference-read-only|.
170            (createEntityReference): Set |c:read-only| flag of
171            the created entity reference, too.
172    
173            * DOMLS.dis (min): New canonical feature name |fe:Min| added.
174    
175            * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
176            from |DOMFeature| module instead.  Use |idl:Object|
177            instead of |DOMMain:DOMObject| as well.
178            (Generic): New canonical feature name |fe:GenericLS| added.
179            (DOMLS:ParserRole, DOMLS:SerializerRole): Their
180            canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
181            respectively.
182    
183            * DOMXML.dis (entities, notations): Perl code removed.
184            It will be reimplemented using |DocumentTypeDefinition|
185            class from |XDoctype| module.
186    
187            * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
188            Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
189            SimpleLS.dis: Cleaned up unused definitions.
190    
191            * DOMCore.dis, DOMLS.dis (CParam): Definitions
192            for LS module moved from |DOMCore| module to |DOMLS| module.
193            This change makes |DOMCore| to |DOMLS| dependency removed.
194    
195            * .cvsignore (.html.pm, .ls.pm): Removed.
196    
197            * Makefile (.html.pm, .ls.pm): Removed.
198            (feature.dae): Include |GenericLS| module.
199            (core.dae): Don't include |DOMLS| and |GenericLS| module.
200            (ls.dae): Include |DOMLS| module.
201    
202    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
203    
204            * XMLParser.dis: Tests on default attributes and their |specified|
205            attribute are added.
206    
207            * XDoctype.dis (createGeneralEntity): New method.
208            (generalEntities): New attribute.
209            (getGeneralEntityNode, setGeneralEntityNode): New methods.
210    
211            * Tree.dis (ManakaiDOMEntities): Removed.
212            (ManakaiDOMEntityMap): New class.
213            (ManakaiDOM:entity-reference-read-only): New configuration parameter.
214            (createEntityReference): If there is a corresponding |Entity|
215            node in the document type definition, then copies its
216            subtree.
217    
218            * DOMXML.dis (Entity): Documentation updated.
219            (publicId, systemId, notationName, xmlEncoding,
220            xmlVersion): These attributes are now settable
221            if |ManakaiDOM:ManakaiDOMLatest| mode.
222            (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
223            mode.
224            (ownerDocumentTypeDefinition): New attribute
225            for |ManakaiDOM:ManakaiDOMLatest| mode.
226            (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
227    
228    2006-01-28  Wakaba  <wakaba@suika.fam.cx>
229    
230            * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
231    
232            * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
233    
234            * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
235            (ManakaiDOMAttributes): Removed.
236            (ManakaiDOMAttrMap): New class.
237            (ManakaiDOMAttrMapArray): New class.
238            (namespaceURI): Bug to return a string representation
239            of a reference to the namespace URI string is fixed.
240            (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
241            (removeAttribute, removeAttributeNS): DTD default attributes
242            are supported.  Don't throw |NO_MODIFICATION_ALLOWED_ERR|
243            if there is no attribute node.
244            (createElement, createElementNS): DTD default attributes are supported.
245            (setAttributeNode): Reimplemented.
246    
247    2006-01-27  Wakaba  <wakaba@suika.fam.cx>
248    
249            * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
250    
251            * Tree.dis (STORESIZE): Index bound bug fixed.
252            (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
253            (schemaTypeInfo): Implemented for XML DTD.
254            (isId): Returns |true| if [attribute type] is |ID|.
255            (setAttribute, setAttributeNS): Sets [attribute type]
256            of the newly created |Attr| node (if any) when attribute
257            definition is available.
258            (doctype, documentElement): Reimplemented with tests.
259    
260            * XMLParser.dis: Sets [attribute type] information
261            to created |Attr| nodes.  Normalize namespace URIs
262            when such information are available (unlikely but legal).
263            (_HexadecimalCharacterReference): Number to character
264            convertion bug fixed.
265            (_DocumentTypeDeclaration): Sets |schema-type|
266            configuration parameter to XML DTD URI.
267    
268    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
269    
270            * XMLParser.dis (_AttlistDeclaration): Now it can generate
271            attribute definition nodes.
272    
273            * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
274            and another |UNKNOWN_ATTR| constant is introduced
275            for consistency with XML Infoset.
276    
277            * DOMCore.dis (TypeInfo): Documentation updated.
278    
279    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
280    
281            * XDoctype.dis: A bug in test code fixed.
282    
283            * Tree.dis (NamedNodeMap): Element type or attribute
284            definition named node maps now can be dereferenced
285            as if they are array or hash references.
286            (removeNamedItem, item, ___report_error): Implemented for element type
287            or attribute definitions.
288            (length): Tests added.
289            (NamedNodeMapArray): New classes.
290    
291    2006-01-25  Wakaba  <wakaba@suika.fam.cx>
292    
293            * XDoctype.dis (setElementTypeDefinitionNode,
294            setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
295            if the new node is already used for another definition.
296            (DocumentTypeDefinition, ElementTypeDefinition): Node
297            property name was incorrect.
298            (elementTypes, attributeDefinitions): Checks to
299            ensure the collection is empty added.
300    
301            * Tree.dis: Property name typos fixed.
302            (setNamedItem, setAttributeNode): Don't return any node
303            if it replace itself.
304            (c:userDeterminedId): Missing definition added.
305    
306            * DOMXML.dis (Notation): Missing property specification
307            of|c:ownerDocument| as |mn:xrefnode0| is added.
308    
309    2006-01-23  Wakaba  <wakaba@suika.fam.cx>
310    
311            * DOMCore.dis (Test): Missing argument added.
312            (setNamedItem): If |DocumentType| with no |ownerDocument|,
313            addition always fails with |WRONG_DOCUMENT_ERR|.  Some
314            error conditions were incorrect.
315    
316            * .cvsignore: Dummy files added.
317    
318    2006-01-22  Wakaba  <wakaba@suika.fam.cx>
319    
320            * DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR,
321            INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes.
322    
323            * DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION|
324            to avoid uninitialized value warning.
325    
326            * Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New
327            classes (work in progress).
328    
329            * XDoctype.dis (elementTypes, attributeDefinitions): New attributes.
330    
331    2006-01-22  Wakaba  <wakaba@suika.fam.cx>
332    
333            * Tree.dis (getAttribute): Returns |null| if there
334            is no attribute in |ManakaiDOM:DOMLatest| for compatibility
335            with Web browser implementations.
336            (getAttributeNS): It returned |null| if there
337            is no attribute in any |For| unintentionally.  It now
338            returns an empty string in DOM levels less than or equals
339            to three.
340    
341            * XMLParser.dis (shiftChar): Fixed not to be warned as
342            uninitialized value or substring out of range.
343    
344    2006-01-21  Wakaba  <wakaba@suika.fam.cx>
345    
346            * DOMXML.dis (DocumentType.childNodes): Removed
347            from |ManakaiDOM:ManakaiDOMLatest| variant.
348    
349            * XMLParser.dis: Parsing of general internal entities implemented.
350            (_DocumentTypeDeclaration): Appends a document type definition
351            node to the document.
352            (_ProcessingInstructionDTD): Appends a processing
353            instruction node to the document type definition.
354            (Element_): Document element could not be an |EmptyElemTag|.
355    
356    2006-01-21  Wakaba  <wakaba@suika.fam.cx>
357    
358            * DOMFeature.dis (featuresParamToFeaturesHash): New block
359            code (seprated from |InputProcessor|).  Now
360            a |features| parameter's version can be specified by
361            an array reference that contains a set of version
362            numbers.  A test added.
363    
364            * XMLParser.dis: A test added.
365    
366    2006-01-07  Wakaba  <wakaba@suika.fam.cx>
367    
368            * DOMCore.dis (Test): Don't invoke |DESTROY| method
369            because it does not work with dummy object used in the test code.
370    
371    2006-01-07  Wakaba  <wakaba@suika.fam.cx>
372    
373            * DOMMain.dis (checkXMLNamesQName): Checks whether
374            namespace URI is defined for not being warned.
375    
376            * XDoctype.dis: New module.
377    
378            * DOMCore.dis (DOMStringList): Test added.
379    
380            * Makefile: |XDoctype.pm| added.
381    
382            * Tree.dis (Require): Requires |XDoctype.dis|.
383            (ManakaiDOMNodeObjectNode.eq): Added.
384            (Test): |DOMError.location| must return a |DOMLocator|
385            object (it was incorrectly tested to return |null|).
386            (EmptyNodeList.DESTROY): Removed.
387    
388    2006-01-04  Wakaba  <wakaba@suika.fam.cx>
389    
390            * Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and
391            |ATTRIBUTE_DEFINITION_NODE| node types added.
392            (appendChild, insertBefore, replaceChild): New
393            two node types added and processing instruction nodes
394            as document type definition node child is allowed
395            in |ManakaiDOM:ManakaiDOMLatest| mode.
396            (getNodeReference): New |interface| parameter
397            to filter classes by interface is added.
398            (ElementTypeDefinitionRole): New role.
399            (AttributeDefinitionRole): New role.
400    
401    2006-01-02  Wakaba  <wakaba@suika.fam.cx>
402    
403            * DOMCore.dis (DOMStringList): Reimplemented as tied array.
404    
405  2005-12-31  Wakaba  <wakaba@suika.fam.cx>  2005-12-31  Wakaba  <wakaba@suika.fam.cx>
406    
407          * DOMCore.dis (DOMError.location): Returns an empty |DOMLocator|          * DOMCore.dis (DOMError.location): Returns an empty |DOMLocator|

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.124

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24