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

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.125

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24