/[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.110 by wakaba, Fri Jan 27 16:24:35 2006 UTC revision 1.126 by wakaba, Mon Feb 13 17:03:21 2006 UTC
# Line 1  Line 1 
1    2006-02-14  Wakaba  <wakaba@suika.fam.cx>
2    
3            * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
4            WFC errors are implemented.  Reports a |xp:wf-syntax-error|
5            if a parameter entity declaration contains |NDATA| keyword.
6            (setEmptyEntityState): Set |name| attribute.
7    
8            * Tree.dis (createEntityReference): Don't enter into inifinite
9            loop even if entity replacement tree contains recursive
10            reference directly or indirectly.
11    
12    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
13    
14            * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
15            WFC error is implemented.
16    
17    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
18    
19            * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
20            configuration parameter |true| during tree construction
21            to ensure default attribute value is cloned as is
22            including entity reference subtree.
23    
24            * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
25            parameter.
26            (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
27            configuration parameter support is added.
28    
29    2006-02-12  Wakaba  <wakaba@suika.fam.cx>
30    
31            * XMLParser.dis (parseString): General |Entity| replacement
32            tree is not constructed because of a typo.  Clears |EntityReference|
33            content before constructing |Entity| replacement tree.
34            The |xp:wf-entity-declared| well-formedness constraint
35            for entity references in attribute value literal is implemented.
36    
37    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
38    
39            * XMLParser.dis: |xp:wf-entity-declared| well-formedness
40            constaraint for entity references that appear in
41            content of elements is implemented.   Set |EntityReference.isExpanded|
42            attribute.
43            (getEmptyEntityState): New code.
44    
45            * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
46            definition is removed.
47    
48            * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
49            (EntityReference.isExpanded): Setter is added.
50    
51    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
52    
53            * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
54            and |xp:wf-no-external-entity-references| well-formedness
55            constraints are implemented.
56    
57    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
58    
59            * XMLParser.dis ($self->{has_error}): Removed.
60            (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
61            errors (including well-formedness constraint errors) are
62            traped by the error handler.
63            (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
64            attribute of the node.  Reports an error if |publidLiteral|
65            contains a non-|pubidChar|.
66    
67            * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
68            version |3.0|).
69            (ManakaiDOMDocumentTypeDefinition): The class no longer
70            inherits |x:ManakaiDOMDocumentType| class.  Instead,
71            it inherits |d:ManakaiDOMDocumentTypeDeclaration|
72            and |t:ManakaiDOMNOde| classes.  It still implements |x:DocumentType|
73            interface (except unimplemented |notations| and |internalSubset|
74            attributes).
75            (ManakaiDOMDocumentTypeDefinition.entities): New attribute
76            for compatibility with |x:DocumentType| interface.
77            (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
78            (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
79            (ManakaiDOMDocumentTypeDefinition.nodeType,
80            ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
81            (DocumentTypeDeclaration): New interface.
82    
83            * Tree.dis (Node/@f:implements): Typos fixed.
84            (Node.MUErrorHandler): Missing |last A| statement is added.
85            (createDocumentType): Throws an exception if |qualifiedName|
86            is illegal.  Calls |DocumentTypeDefinition.newObject|
87            instead of obsolete |DocumentType.newObject|.
88    
89            * DOMXML.dis (DocumentType.name, DocumentType.entities,
90            DocumentType.publicId, DocumentType.systemId,
91            DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
92            as clones of similar attributes or methods
93            in |MDOM:XDoctype| module.
94            (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
95            instead).
96            (DocumentType.childNodes): Removed (|Node.childNodes| definition
97            is used).
98    
99    2006-02-10  Wakaba  <wakaba@suika.fam.cx>
100    
101            * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
102            fatal error.
103    
104    2006-02-09  Wakaba  <wakaba@suika.fam.cx>
105    
106            * XMLParser.dis (CommentDeclaration): |STRING| is now
107            defined as a |?default-token|.
108            (XMLTests): Tests for |Char - RestrictedChar| matchness,
109            comment declarations, cdata sections, and |MSE| in |content|
110            added.
111            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
112            (get-location-from-token): |$token->{location_d}|
113            for |?default-token| column counting support added.
114    
115            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
116    
117    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
118    
119            * Tree.dis (createProcessingInstruction): Don't
120            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
121            is |false|.
122    
123            * XMLParser.dis (parseString): Initializes |$self->{location}|.
124            It enables improved error position report.
125            (XDO): It now includes |S+| following target name |xml| as
126            part of the token.  (PI with target starting with |xml|
127            was unable to be placed at the beginning of the document entity.)
128            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
129            a processing instruction node with |#INVALID| node name
130            if target name is not given and recovered from the error.
131            (S): Variable |$s| added.
132            (XMLTests): Tests for XML declarations and processing
133            instructions are added.  Prints error type name if unexpected
134            error with severity of error or fatal error has been reported.
135            Catch unexpected exceptions thrown in parser (different
136            from |LSException|), prints its message, and invoke |$test->not_ok|
137            for the ease of testing.
138            (xp:get-location-from-token): Location values now take |$self->{char}|
139            stack into acount.
140            
141    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
142    
143            * XMLParser.dis (shiftChar): Line and column number counting
144            is fixed.  Although the DOM Level 3 Core specification
145            is unclear about whether the first number is zero or one,
146            in most programs the first line is "one" and
147            the first column is "one", manakai follows the practice.
148            (_XMLDeclaration): Don't set |xmlStandalone| value
149            if |standalone| pseudo-attribute value is |no|.  XML declaration
150            tests (successful cases) added.
151            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
152            properties.
153    
154    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
155    
156            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
157    
158    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
159    
160            * DOMCore.dis (c:erred): New property.
161            (c:DOMErrorType): It should have been a subset
162            of |ecore:AnyErrorCode|.
163    
164            * XMLParser.dis (XMLTests): Empty input tests added.
165    
166    2006-01-30  Wakaba  <wakaba@suika.fam.cx>
167    
168            * XDoctype.dis (d:Feature): New canonical feature
169            name |fe:XDoctype| is added.
170    
171            * XMLParser.dis: Predefined general entity references
172            are implemented.  Creates |Entity| nodes from general entities
173            declared in internal subset.  |Entity| nodes created from internal
174            general parsed entities now have replacement tree.
175            Sets |cfg:entity-reference-read-only| flag off during
176            the tree generation.  Some parsing rules use |$self->{doc}|
177            rather than |$doc| parameter.  Similarly, |$self->{docx}| (document
178            node with |fe:XDoctype| feature) and |$self->{dtdef}| are
179            introduced.  General entity references in attribute value literal
180            are supported.
181    
182    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
183    
184            * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
185            parameter name changed to |cfg:entity-reference-read-only|.
186            (createEntityReference): Set |c:read-only| flag of
187            the created entity reference, too.
188    
189            * DOMLS.dis (min): New canonical feature name |fe:Min| added.
190    
191            * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
192            from |DOMFeature| module instead.  Use |idl:Object|
193            instead of |DOMMain:DOMObject| as well.
194            (Generic): New canonical feature name |fe:GenericLS| added.
195            (DOMLS:ParserRole, DOMLS:SerializerRole): Their
196            canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
197            respectively.
198    
199            * DOMXML.dis (entities, notations): Perl code removed.
200            It will be reimplemented using |DocumentTypeDefinition|
201            class from |XDoctype| module.
202    
203            * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
204            Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
205            SimpleLS.dis: Cleaned up unused definitions.
206    
207            * DOMCore.dis, DOMLS.dis (CParam): Definitions
208            for LS module moved from |DOMCore| module to |DOMLS| module.
209            This change makes |DOMCore| to |DOMLS| dependency removed.
210    
211            * .cvsignore (.html.pm, .ls.pm): Removed.
212    
213            * Makefile (.html.pm, .ls.pm): Removed.
214            (feature.dae): Include |GenericLS| module.
215            (core.dae): Don't include |DOMLS| and |GenericLS| module.
216            (ls.dae): Include |DOMLS| module.
217    
218    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
219    
220            * XMLParser.dis: Tests on default attributes and their |specified|
221            attribute are added.
222    
223            * XDoctype.dis (createGeneralEntity): New method.
224            (generalEntities): New attribute.
225            (getGeneralEntityNode, setGeneralEntityNode): New methods.
226    
227            * Tree.dis (ManakaiDOMEntities): Removed.
228            (ManakaiDOMEntityMap): New class.
229            (ManakaiDOM:entity-reference-read-only): New configuration parameter.
230            (createEntityReference): If there is a corresponding |Entity|
231            node in the document type definition, then copies its
232            subtree.
233    
234            * DOMXML.dis (Entity): Documentation updated.
235            (publicId, systemId, notationName, xmlEncoding,
236            xmlVersion): These attributes are now settable
237            if |ManakaiDOM:ManakaiDOMLatest| mode.
238            (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
239            mode.
240            (ownerDocumentTypeDefinition): New attribute
241            for |ManakaiDOM:ManakaiDOMLatest| mode.
242            (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
243    
244    2006-01-28  Wakaba  <wakaba@suika.fam.cx>
245    
246            * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
247    
248            * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
249    
250            * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
251            (ManakaiDOMAttributes): Removed.
252            (ManakaiDOMAttrMap): New class.
253            (ManakaiDOMAttrMapArray): New class.
254            (namespaceURI): Bug to return a string representation
255            of a reference to the namespace URI string is fixed.
256            (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
257            (removeAttribute, removeAttributeNS): DTD default attributes
258            are supported.  Don't throw |NO_MODIFICATION_ALLOWED_ERR|
259            if there is no attribute node.
260            (createElement, createElementNS): DTD default attributes are supported.
261            (setAttributeNode): Reimplemented.
262    
263  2006-01-27  Wakaba  <wakaba@suika.fam.cx>  2006-01-27  Wakaba  <wakaba@suika.fam.cx>
264    
265          * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.          * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.

Legend:
Removed from v.1.110  
changed lines
  Added in v.1.126

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24