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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24