/[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.107 by wakaba, Wed Jan 25 12:21:46 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>
354    
355            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
356    
357    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
358    
359            * DOMCore.dis (c:erred): New property.
360            (c:DOMErrorType): It should have been a subset
361            of |ecore:AnyErrorCode|.
362    
363            * XMLParser.dis (XMLTests): Empty input tests added.
364    
365    2006-01-30  Wakaba  <wakaba@suika.fam.cx>
366    
367            * XDoctype.dis (d:Feature): New canonical feature
368            name |fe:XDoctype| is added.
369    
370            * XMLParser.dis: Predefined general entity references
371            are implemented.  Creates |Entity| nodes from general entities
372            declared in internal subset.  |Entity| nodes created from internal
373            general parsed entities now have replacement tree.
374            Sets |cfg:entity-reference-read-only| flag off during
375            the tree generation.  Some parsing rules use |$self->{doc}|
376            rather than |$doc| parameter.  Similarly, |$self->{docx}| (document
377            node with |fe:XDoctype| feature) and |$self->{dtdef}| are
378            introduced.  General entity references in attribute value literal
379            are supported.
380    
381    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
382    
383            * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
384            parameter name changed to |cfg:entity-reference-read-only|.
385            (createEntityReference): Set |c:read-only| flag of
386            the created entity reference, too.
387    
388            * DOMLS.dis (min): New canonical feature name |fe:Min| added.
389    
390            * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
391            from |DOMFeature| module instead.  Use |idl:Object|
392            instead of |DOMMain:DOMObject| as well.
393            (Generic): New canonical feature name |fe:GenericLS| added.
394            (DOMLS:ParserRole, DOMLS:SerializerRole): Their
395            canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
396            respectively.
397    
398            * DOMXML.dis (entities, notations): Perl code removed.
399            It will be reimplemented using |DocumentTypeDefinition|
400            class from |XDoctype| module.
401    
402            * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
403            Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
404            SimpleLS.dis: Cleaned up unused definitions.
405    
406            * DOMCore.dis, DOMLS.dis (CParam): Definitions
407            for LS module moved from |DOMCore| module to |DOMLS| module.
408            This change makes |DOMCore| to |DOMLS| dependency removed.
409    
410            * .cvsignore (.html.pm, .ls.pm): Removed.
411    
412            * Makefile (.html.pm, .ls.pm): Removed.
413            (feature.dae): Include |GenericLS| module.
414            (core.dae): Don't include |DOMLS| and |GenericLS| module.
415            (ls.dae): Include |DOMLS| module.
416    
417    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
418    
419            * XMLParser.dis: Tests on default attributes and their |specified|
420            attribute are added.
421    
422            * XDoctype.dis (createGeneralEntity): New method.
423            (generalEntities): New attribute.
424            (getGeneralEntityNode, setGeneralEntityNode): New methods.
425    
426            * Tree.dis (ManakaiDOMEntities): Removed.
427            (ManakaiDOMEntityMap): New class.
428            (ManakaiDOM:entity-reference-read-only): New configuration parameter.
429            (createEntityReference): If there is a corresponding |Entity|
430            node in the document type definition, then copies its
431            subtree.
432    
433            * DOMXML.dis (Entity): Documentation updated.
434            (publicId, systemId, notationName, xmlEncoding,
435            xmlVersion): These attributes are now settable
436            if |ManakaiDOM:ManakaiDOMLatest| mode.
437            (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
438            mode.
439            (ownerDocumentTypeDefinition): New attribute
440            for |ManakaiDOM:ManakaiDOMLatest| mode.
441            (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
442    
443    2006-01-28  Wakaba  <wakaba@suika.fam.cx>
444    
445            * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
446    
447            * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
448    
449            * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
450            (ManakaiDOMAttributes): Removed.
451            (ManakaiDOMAttrMap): New class.
452            (ManakaiDOMAttrMapArray): New class.
453            (namespaceURI): Bug to return a string representation
454            of a reference to the namespace URI string is fixed.
455            (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
456            (removeAttribute, removeAttributeNS): DTD default attributes
457            are supported.  Don't throw |NO_MODIFICATION_ALLOWED_ERR|
458            if there is no attribute node.
459            (createElement, createElementNS): DTD default attributes are supported.
460            (setAttributeNode): Reimplemented.
461    
462    2006-01-27  Wakaba  <wakaba@suika.fam.cx>
463    
464            * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
465    
466            * Tree.dis (STORESIZE): Index bound bug fixed.
467            (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
468            (schemaTypeInfo): Implemented for XML DTD.
469            (isId): Returns |true| if [attribute type] is |ID|.
470            (setAttribute, setAttributeNS): Sets [attribute type]
471            of the newly created |Attr| node (if any) when attribute
472            definition is available.
473            (doctype, documentElement): Reimplemented with tests.
474    
475            * XMLParser.dis: Sets [attribute type] information
476            to created |Attr| nodes.  Normalize namespace URIs
477            when such information are available (unlikely but legal).
478            (_HexadecimalCharacterReference): Number to character
479            convertion bug fixed.
480            (_DocumentTypeDeclaration): Sets |schema-type|
481            configuration parameter to XML DTD URI.
482    
483    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
484    
485            * XMLParser.dis (_AttlistDeclaration): Now it can generate
486            attribute definition nodes.
487    
488            * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
489            and another |UNKNOWN_ATTR| constant is introduced
490            for consistency with XML Infoset.
491    
492            * DOMCore.dis (TypeInfo): Documentation updated.
493    
494    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
495    
496            * XDoctype.dis: A bug in test code fixed.
497    
498            * Tree.dis (NamedNodeMap): Element type or attribute
499            definition named node maps now can be dereferenced
500            as if they are array or hash references.
501            (removeNamedItem, item, ___report_error): Implemented for element type
502            or attribute definitions.
503            (length): Tests added.
504            (NamedNodeMapArray): New classes.
505    
506  2006-01-25  Wakaba  <wakaba@suika.fam.cx>  2006-01-25  Wakaba  <wakaba@suika.fam.cx>
507    
508          * XDoctype.dis (setElementTypeDefinitionNode,          * XDoctype.dis (setElementTypeDefinitionNode,

Legend:
Removed from v.1.107  
changed lines
  Added in v.1.138

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24