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

Legend:
Removed from v.1.116  
changed lines
  Added in v.1.141

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24