/[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.103 by wakaba, Sat Jan 21 16:28:13 2006 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>  2006-01-21  Wakaba  <wakaba@suika.fam.cx>
311    
312          * DOMXML.dis (DocumentType.childNodes): Removed          * DOMXML.dis (DocumentType.childNodes): Removed

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24