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

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.133

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24