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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24