/[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.108 by wakaba, Thu Jan 26 08:21:03 2006 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>  2006-01-26  Wakaba  <wakaba@suika.fam.cx>
280    
281          * XDoctype.dis: A bug in test code fixed.          * XDoctype.dis: A bug in test code fixed.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24