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

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.128

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24