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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24