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

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.121

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24