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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24