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

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.140

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24