/[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.106 by wakaba, Mon Jan 23 13:55:46 2006 UTC revision 1.158 by wakaba, Tue Mar 28 00:59:50 2006 UTC
# Line 1  Line 1 
1    2006-03-26  Wakaba  <wakaba@suika.fam.cx>
2    
3            * DOMCore.dis (Require): Reference to the |MDOM:TreeCore|
4            module is added.
5            (DOMStringList): Reimplemented for new |d:AttributeDefinition|
6            implementation (untested).
7    
8            * TreeCore.dis (baseURI): Reimplemented (untested).
9            (Roles): Definitions added.
10    
11            * XDoctype.dis (Require): References to the |MDOM:TreeCore|
12            and |MDOM:XML| modules are added.  Reference to the |MDOM:Tree|
13            module is removed.
14            (DocumentXDoctype): Reimplemented (untested).
15            (DocumentTypeDefinition, DocumentTypeDeclaration):
16            Reimlemented (untested).
17            (ElementTypeDefinition, AttributeDefinition): Reimplemented (untested).
18    
19            * XML.dis (FeatureDef): New features (definitions copied
20            from the |MDOM:DOMXML| module).
21            (DocumentType): New interface (definition copied from
22            the |MDOM:DOMXML| module).
23            (CDATASection, Notation, Entity, EntityReference, ProcessingInstruction):
24            Reimplemented (untested).
25            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested).
26    
27    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
28    
29            * TreeCore.dis (Document): Most methods are reimplemented (untested).
30    
31    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
32    
33            * TreeCore.dis (Document): Attributes are reimplemented (untested).
34            (Text, DocumentFragment, Comment): Most members are
35            reimplemented (untested).
36    
37    2006-03-24  Wakaba  <wakaba@suika.fam.cx>
38    
39            * DOMMain.dis (checkXMLNamesQName): Some checks are
40            removed to sync with DOM Level 3 Core specification.
41    
42            * TreeCore.dis (Element): Most methods are reimplemented (untested).
43            (GetElementsNodeList): Reimplemented (untested).
44    
45    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
46    
47            * Tree.dis (cfg:strict-document-children): The configuration
48            parameter must also affect on |manakaiAppendText|
49            and |textContent| on |Document| nodes.
50    
51            * TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass|
52            parameter changes the class to |bless|.
53            (Node): Most methods are reimplemented.  (Untested)
54            (CharacterData, Attr): Most methods and attributes are
55            reimplemented.  (Untested)
56    
57            * XML.dis, XDoctype.dis: Most |Node| methods are
58            reimplemented (untested).
59    
60    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
61    
62            * TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented
63            (untested).
64    
65    2006-03-22  Wakaba  <wakaba@suika.fam.cx>
66    
67            * DOMCore.dis (DOMSTRING_SIZE_ERR): It now has
68            a qualified name.
69    
70            * DOMMain.dis (ensureNamespacePrefix): Undefines
71            the prefix if it is an empty string.  (Note that
72            it is defined as implementation dependent in
73            DOM Level 3 Core specification).
74    
75            * TreeCore.dis (Require): It now references the |MDOM:XDoctype|
76            module.
77            (Node): Attributes are reimplemented (untested).
78    
79            * XML.dis (Require): It now references the |MDOMX:XDoctype|
80            module.
81            (Node): Attributes are reimplemented (untested).
82            (Entity, Notation): New interfaces.
83    
84            * XDoctype.dis (Node): Attributes are reimplemented (untested).
85    
86    2006-03-19  Wakaba  <wakaba@suika.fam.cx>
87    
88            * TreeCore.dis (childNodes, firstChild, lastChild,
89            nextSibling, previousSibling, appendChild, insertBefore,
90            replaceChild, removeChild, createDocumentFragment,
91            createEntityReference, createProcessingInstruction,
92            domConfig, documentElement, implementation, manakaiAppendText): New.
93            (NodeList, DocumentFragment): New interfaces.
94    
95            * XML.dis (EntityReference, ProcessingInstruction): New interface.
96    
97    2006-03-18  Wakaba  <wakaba@suika.fam.cx>
98    
99            * TreeCore.dis (Require): The |MDOM:XML| module is added.
100            (createAttributeNS, createTextNode, createComment,
101            createCDATASection): New methods.
102            (Attr, Text, Comment, CharacterData): New interfaces.
103    
104            * Makefile: |XML.dis| is added.
105    
106            * XML.dis: New module.
107    
108    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
109    
110            * TreeCore.dis (manakaiReadOnly): New attribute.
111            
112    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
113    
114            * TreeCore.dis (NodeType, nodeType, localName, namespaceURI,
115            prefix, isSameNode, ownerDocument, parentNode): New.
116            (Element): New interface.
117            (createElementNS): New method.
118            (strictErrorChecking): New.
119    
120    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
121    
122            * Makefile: |TreeCore.dis| is added.
123    
124            * TreeCore.dis: New module.
125    
126    2006-03-16  Wakaba  <wakaba@suika.fam.cx>
127    
128            * XMLParser.dis (cfg:entity-replacement-tree): New configuration
129            parameter.
130    
131            * DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|.
132    
133            * DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical
134            data types added to configuration parameters.
135    
136    2006-03-15  Wakaba  <wakaba@suika.fam.cx>
137    
138            * DOMCore.dis (c:DOMConfigurationParameter): Now it is
139            a |DISSource:ResourceProperty|.
140            (c:anyDOMConfigurationParameter): New property.
141            (CParam, boolCParam): Now they are all |dis:subsetOf|
142            the |c:anyDOMConfigurationParameter| property.
143            (ForDocument, ForParser, ForSerializer): Removed.
144    
145            * DOMLS.dis, XMLParser.dis: Likewise.
146    
147    2006-03-12  Wakaba  <wakaba@suika.fam.cx>
148    
149            * DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties
150            are removed.
151    
152            * GenericLS.pm: Added to the CVS repository since
153            it is necessary to create the |Message::Util::DIS::DPG| module.
154    
155    2006-03-10  Wakaba  <wakaba@suika.fam.cx>
156    
157            * DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New
158            method.
159    
160            * XMLParser.dis: Don't create adjacent text nodes.
161    
162    2006-03-09  Wakaba  <wakaba@suika.fam.cx>
163    
164            * DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error.
165    
166            * DOMXML.dis (appendChild, insertBefore, replaceChild): Method
167            implementations are added.
168    
169            * XDoctype.dis (appendChild, insertBefore, replaceChild): Method
170            implementations are added.
171    
172            * Tree.dis (appendChild, insertBefore, replaceChild): Method
173            implementations are added.
174            (IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass|
175            resources unless for |ManakaiDOM:ManakaiDOMLatest|.
176            (cfg:strict-document-children): New configuration parameter.
177    
178    2006-03-08  Wakaba  <wakaba@suika.fam.cx>
179    
180            * XDoctype.dis (replaceChild): Method implementations are added.
181    
182            * Tree.dis (replaceChild): Method implementations are added.
183    
184            * DOMXML.dis (replaceChild): Method implementations are added.
185    
186    2006-03-07  Wakaba  <wakaba@suika.fam.cx>
187    
188            * Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for|
189            definitions.
190    
191            * XDoctype.dis (insertBefore): New method implementation.
192    
193    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
194    
195            * DOMXML.dis (insertBefore): Method implementations
196            for |ProcessingInstruction| and |Notation| nodes are added.
197    
198            * Tree.dis (insertBefore): Method implementation
199            for |CharacterData| nodes is added.
200    
201            * XDoctype.dis (insertBefore): Method implementation
202            for |ElementTypeDefinition| nodes is added.
203    
204    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
205    
206            * XDoctype.dis (appendChild): New method implementation.
207    
208    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
209    
210            * DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
211            (REMOVE_DOCUMENT_ELEMENT_ERR): New error.
212            (REMOVE_DOCUMENT_TYPE_ERR): New error.
213    
214            * DOMXML.dis (ManakaiDOMDocumentType): Removed.
215            (ProcessingInstruction.appendChild, CDATASection.appendChild,
216            Notation.appendChild): New method implementation.
217    
218            * Tree.dis (CharacterData.appendChild): New method implementation.
219    
220            * XDoctype.dis: Tests moved from |MDOM:DOMXML| module.
221    
222    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
223    
224            * DOMXML.dis (ManakaiDOMXMLIdAttr): New class.
225    
226            * Tree.dis (createAttribute, createAttributeNS,
227            setAttribute, setAttributeNS): They now supports
228            the |cfg:xml-id| configuration parameter.
229            (cfg:xml-id): New configuration parameter.
230    
231            * XDoctype.dis (createAttributeDefinition): It now
232            supports the |cfg:xml-id| configuration parameter.
233    
234            * XMLParser.dis (parse): It now supports
235            the |cfg:xml-id| configuration parameter.
236    
237    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
238    
239            * XMLParser.dis (parse): Sets |Document.documentURI|
240            and |Document.manakaiEntityBaseURI| attributes of the
241            document created.
242            (_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
243            property of the created node.
244            (_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
245            of the created node.
246            (ls-input-to-input-file.default): Sets the resolved
247            system identifier to the |documentURI| attribute if available.
248            Sets the |baseURI| attribute if available.
249    
250    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
251    
252            * XDoctype.dis (DocumentTypeDefinition.implementation): New attribute.
253            (Node.baseURI): New attribute implementations.
254            (declarationBaseURI): Setter is added.
255            (manakaiDeclarationBaseURI): New attribute.
256    
257            * Tree.dis (Require): A reference to the |MURI:Generic|
258            module is added.
259            (Node.baseURI): The implementation is revised.
260            (getNodeReference): Attribute node classes specialized
261            to attribute names are supported.
262            (contentBaseURI, htmlBaseURI): Removed.
263            (manakaiEntityBaseURI): New attribute.
264            (ManakaiDOMImplementationDocument): It now inherits
265            the |urigen:URIImplementation| class.
266    
267            * DOMMain.dis (isRelativeDOMURI): The definition
268            of the URI scheme is synced with |Message::URI::Generic|'s
269            one.
270    
271            * DOMXML.dis (Require): A reference to |DISlib:DISMarkup|
272            module is added.
273            (DocumentType.implementation): New attribute.
274            (Node.baseURI): Implementations are added.
275            (manakaiDeclarationBaseURI): New attributes.
276            (manakaiEntityBaseURI): New attributes.
277            (manakaiEntityURI): New attribute.
278            (manakaiExternal): New attribute.
279            (manakaiBaseURI): New attribute.
280            (ManakaiDOMXMLBaseAttr): New class.
281    
282    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
283    
284            * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
285            module was missing.
286    
287            * ManakaiDOMLS2003.dis: Some property names was incorrect.
288    
289            * Makefile (distclean): New rule.
290    
291    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
292    
293            * DOMLS.dis: Removed from the CVS repository, since
294            it has been no longer required to make the |daf| system
295            itself.
296    
297    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
298    
299            * Makefile: Revised for new |daf| database format.
300    
301    2006-02-25  Wakaba  <wakaba@suika.fam.cx>
302    
303            * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
304            module is added.
305    
306    2006-02-22  Wakaba  <wakaba@suika.fam.cx>
307    
308            * DOMLS.dis: Constants were typed as |dx:ErrorCode|
309            by mistake.
310    
311    2006-02-18  Wakaba  <wakaba@suika.fam.cx>
312    
313            * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
314            feature.
315    
316            * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
317    
318            * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
319            (DOMImplementationLS.createLSParser): Implemented.
320            (DOMImplementationLS.createLSInput): Revised.
321            (LSInput): Note on relationship with |GenericLS| is added.
322    
323            * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
324    
325    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
326    
327            * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
328            is introduced.
329            (async, busy): Implemented.
330            (parseString): Removed.
331            (parse, parseURI): Implemented.
332            (xp:ls-input-to-input-file): New configuration parameter.
333            (shiftChar): Gets character from current file handle
334            rather than replacement text.  Don't normalize
335            line break characters for internal entities.  Don't
336            throw |xp:wf-legal-literal-character| error
337            for |RestrictedChar| appearing in internal entities.
338            (DISPerl:dpgDef): Call |close| for each entity filehandler.
339            (_EntityDeclaration): Copy document URI and base URI
340            to the entity's |$decl| object.
341            (ParseError): New code fragment.
342            (getCopyOfEntityState): Creates filehandle from replacement
343            text.
344            (xp-error-lines): Don't appends text if no replacement
345            text is available.
346            (error-handler): New configuration parameter application resource.
347            (ManakaiDOMLSInputToInputFile): New class.
348            (ManakaiDOMInputFile): New class.
349    
350            * Tree.dis (getNodeReference): A dereferencing was missing.
351    
352            * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
353    
354    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
355    
356            * XMLParser.dis: Default attribute are now namespace aware.
357            (parseString): Don't output |Document| warnings
358            during tree construction to standard error output.
359    
360    2006-02-16  Wakaba  <wakaba@suika.fam.cx>
361    
362            * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
363            XML Namespace 1.1 is implemented.  Namespace well-formedness
364            error detection is implemented.  Generates |Notation| nodes
365            from notation declarations.
366            (checkNCName, checkQName): New code fragments.
367    
368            * XDoctype.dis (DocumentXDoctype): Factory methods
369            don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
370            is |false|.
371    
372            * DOMCore.dis (wf-invalid-character-in-node-name,
373            wf-invalid-character): Removed (moved to |MDOM:Tree| module).
374    
375            * Tree.dis '(wf-invalid-character-in-node-name,
376            wf-invalid-character): New errors (from |MDOM:DOMCore| module).
377            (Attr.specified): Setter added.
378            (cfg:dtd-default-attributes): New configuration parameter.
379            (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
380            if |Document.strictErrorChecking| is |false|.
381    
382    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
383    
384            * XMLParser.dis: Set |allDeclarationsProcessed|
385            attribute of the |Document| node.  Don't process entity
386            and attribute definition list declarations after
387            unread parameter entity reference.  Warns if an attribute definition is
388            ignored (|xp:warning-attribute-definition-ignored|).  Set
389            flags whether predefined entities are declared or not.
390            WFC error |xp:wf-pes-in-internal-subset| is implemented.
391    
392    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
393    
394            * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
395            if a predefined entity declaration references an external entity.
396            Issues |xp:error-malformed-predefined-entity| error if
397            a predefined entity declaration defines different thing than
398            one as in XML specification.  
399            Issies |xp:warning-entity-declaration-ignored| warning if
400            more than one entity declarations for an entity is found.
401            (WFErrDef): Now all well-formedness errors are marked
402            as |SEVERITY_FATAL_ERROR|.
403    
404            * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
405            predefined entity declarations.
406            (DocumentXDoctype.createNotation): New method.
407            (DocumentTypeDefinition.notations): New attribute.
408            (DocumentTypeDefinition.getNotationNode): New method.
409            (DocumentTypeDefinition.setNotationNode): New method.
410            (newNotationForTest): New code fragment.
411    
412            * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
413            (c:ManakaiDOMNotationMap): New class.
414            (c:ManakaiDOMNotationMapArray): New class.
415            (Document.allDeclarationsProcessed): New attribute.
416    
417            * DOMXML.dis (DocumentType.notations): Implemented.
418            (Notation): Revised.
419            (Notation.ownerDocumentTypeDefinition): New attribute.
420    
421    2006-02-14  Wakaba  <wakaba@suika.fam.cx>
422    
423            * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
424            WFC errors are implemented.  Reports a |xp:wf-syntax-error|
425            if a parameter entity declaration contains |NDATA| keyword.
426            (setEmptyEntityState): Set |name| attribute.
427    
428            * Tree.dis (createEntityReference): Don't enter into inifinite
429            loop even if entity replacement tree contains recursive
430            reference directly or indirectly.
431    
432    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
433    
434            * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
435            WFC error is implemented.
436    
437    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
438    
439            * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
440            configuration parameter |true| during tree construction
441            to ensure default attribute value is cloned as is
442            including entity reference subtree.
443    
444            * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
445            parameter.
446            (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
447            configuration parameter support is added.
448    
449    2006-02-12  Wakaba  <wakaba@suika.fam.cx>
450    
451            * XMLParser.dis (parseString): General |Entity| replacement
452            tree is not constructed because of a typo.  Clears |EntityReference|
453            content before constructing |Entity| replacement tree.
454            The |xp:wf-entity-declared| well-formedness constraint
455            for entity references in attribute value literal is implemented.
456    
457    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
458    
459            * XMLParser.dis: |xp:wf-entity-declared| well-formedness
460            constaraint for entity references that appear in
461            content of elements is implemented.   Set |EntityReference.isExpanded|
462            attribute.
463            (getEmptyEntityState): New code.
464    
465            * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
466            definition is removed.
467    
468            * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
469            (EntityReference.isExpanded): Setter is added.
470    
471    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
472    
473            * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
474            and |xp:wf-no-external-entity-references| well-formedness
475            constraints are implemented.
476    
477    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
478    
479            * XMLParser.dis ($self->{has_error}): Removed.
480            (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
481            errors (including well-formedness constraint errors) are
482            traped by the error handler.
483            (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
484            attribute of the node.  Reports an error if |publidLiteral|
485            contains a non-|pubidChar|.
486    
487            * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
488            version |3.0|).
489            (ManakaiDOMDocumentTypeDefinition): The class no longer
490            inherits |x:ManakaiDOMDocumentType| class.  Instead,
491            it inherits |d:ManakaiDOMDocumentTypeDeclaration|
492            and |t:ManakaiDOMNOde| classes.  It still implements |x:DocumentType|
493            interface (except unimplemented |notations| and |internalSubset|
494            attributes).
495            (ManakaiDOMDocumentTypeDefinition.entities): New attribute
496            for compatibility with |x:DocumentType| interface.
497            (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
498            (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
499            (ManakaiDOMDocumentTypeDefinition.nodeType,
500            ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
501            (DocumentTypeDeclaration): New interface.
502    
503            * Tree.dis (Node/@f:implements): Typos fixed.
504            (Node.MUErrorHandler): Missing |last A| statement is added.
505            (createDocumentType): Throws an exception if |qualifiedName|
506            is illegal.  Calls |DocumentTypeDefinition.newObject|
507            instead of obsolete |DocumentType.newObject|.
508    
509            * DOMXML.dis (DocumentType.name, DocumentType.entities,
510            DocumentType.publicId, DocumentType.systemId,
511            DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
512            as clones of similar attributes or methods
513            in |MDOM:XDoctype| module.
514            (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
515            instead).
516            (DocumentType.childNodes): Removed (|Node.childNodes| definition
517            is used).
518    
519    2006-02-10  Wakaba  <wakaba@suika.fam.cx>
520    
521            * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
522            fatal error.
523    
524    2006-02-09  Wakaba  <wakaba@suika.fam.cx>
525    
526            * XMLParser.dis (CommentDeclaration): |STRING| is now
527            defined as a |?default-token|.
528            (XMLTests): Tests for |Char - RestrictedChar| matchness,
529            comment declarations, cdata sections, and |MSE| in |content|
530            added.
531            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
532            (get-location-from-token): |$token->{location_d}|
533            for |?default-token| column counting support added.
534    
535            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
536    
537    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
538    
539            * Tree.dis (createProcessingInstruction): Don't
540            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
541            is |false|.
542    
543            * XMLParser.dis (parseString): Initializes |$self->{location}|.
544            It enables improved error position report.
545            (XDO): It now includes |S+| following target name |xml| as
546            part of the token.  (PI with target starting with |xml|
547            was unable to be placed at the beginning of the document entity.)
548            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
549            a processing instruction node with |#INVALID| node name
550            if target name is not given and recovered from the error.
551            (S): Variable |$s| added.
552            (XMLTests): Tests for XML declarations and processing
553            instructions are added.  Prints error type name if unexpected
554            error with severity of error or fatal error has been reported.
555            Catch unexpected exceptions thrown in parser (different
556            from |LSException|), prints its message, and invoke |$test->not_ok|
557            for the ease of testing.
558            (xp:get-location-from-token): Location values now take |$self->{char}|
559            stack into acount.
560            
561    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
562    
563            * XMLParser.dis (shiftChar): Line and column number counting
564            is fixed.  Although the DOM Level 3 Core specification
565            is unclear about whether the first number is zero or one,
566            in most programs the first line is "one" and
567            the first column is "one", manakai follows the practice.
568            (_XMLDeclaration): Don't set |xmlStandalone| value
569            if |standalone| pseudo-attribute value is |no|.  XML declaration
570            tests (successful cases) added.
571            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
572            properties.
573    
574    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
575    
576            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
577    
578    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
579    
580            * DOMCore.dis (c:erred): New property.
581            (c:DOMErrorType): It should have been a subset
582            of |ecore:AnyErrorCode|.
583    
584            * XMLParser.dis (XMLTests): Empty input tests added.
585    
586    2006-01-30  Wakaba  <wakaba@suika.fam.cx>
587    
588            * XDoctype.dis (d:Feature): New canonical feature
589            name |fe:XDoctype| is added.
590    
591            * XMLParser.dis: Predefined general entity references
592            are implemented.  Creates |Entity| nodes from general entities
593            declared in internal subset.  |Entity| nodes created from internal
594            general parsed entities now have replacement tree.
595            Sets |cfg:entity-reference-read-only| flag off during
596            the tree generation.  Some parsing rules use |$self->{doc}|
597            rather than |$doc| parameter.  Similarly, |$self->{docx}| (document
598            node with |fe:XDoctype| feature) and |$self->{dtdef}| are
599            introduced.  General entity references in attribute value literal
600            are supported.
601    
602    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
603    
604            * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
605            parameter name changed to |cfg:entity-reference-read-only|.
606            (createEntityReference): Set |c:read-only| flag of
607            the created entity reference, too.
608    
609            * DOMLS.dis (min): New canonical feature name |fe:Min| added.
610    
611            * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
612            from |DOMFeature| module instead.  Use |idl:Object|
613            instead of |DOMMain:DOMObject| as well.
614            (Generic): New canonical feature name |fe:GenericLS| added.
615            (DOMLS:ParserRole, DOMLS:SerializerRole): Their
616            canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
617            respectively.
618    
619            * DOMXML.dis (entities, notations): Perl code removed.
620            It will be reimplemented using |DocumentTypeDefinition|
621            class from |XDoctype| module.
622    
623            * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
624            Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
625            SimpleLS.dis: Cleaned up unused definitions.
626    
627            * DOMCore.dis, DOMLS.dis (CParam): Definitions
628            for LS module moved from |DOMCore| module to |DOMLS| module.
629            This change makes |DOMCore| to |DOMLS| dependency removed.
630    
631            * .cvsignore (.html.pm, .ls.pm): Removed.
632    
633            * Makefile (.html.pm, .ls.pm): Removed.
634            (feature.dae): Include |GenericLS| module.
635            (core.dae): Don't include |DOMLS| and |GenericLS| module.
636            (ls.dae): Include |DOMLS| module.
637    
638    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
639    
640            * XMLParser.dis: Tests on default attributes and their |specified|
641            attribute are added.
642    
643            * XDoctype.dis (createGeneralEntity): New method.
644            (generalEntities): New attribute.
645            (getGeneralEntityNode, setGeneralEntityNode): New methods.
646    
647            * Tree.dis (ManakaiDOMEntities): Removed.
648            (ManakaiDOMEntityMap): New class.
649            (ManakaiDOM:entity-reference-read-only): New configuration parameter.
650            (createEntityReference): If there is a corresponding |Entity|
651            node in the document type definition, then copies its
652            subtree.
653    
654            * DOMXML.dis (Entity): Documentation updated.
655            (publicId, systemId, notationName, xmlEncoding,
656            xmlVersion): These attributes are now settable
657            if |ManakaiDOM:ManakaiDOMLatest| mode.
658            (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
659            mode.
660            (ownerDocumentTypeDefinition): New attribute
661            for |ManakaiDOM:ManakaiDOMLatest| mode.
662            (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
663    
664    2006-01-28  Wakaba  <wakaba@suika.fam.cx>
665    
666            * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
667    
668            * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
669    
670            * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
671            (ManakaiDOMAttributes): Removed.
672            (ManakaiDOMAttrMap): New class.
673            (ManakaiDOMAttrMapArray): New class.
674            (namespaceURI): Bug to return a string representation
675            of a reference to the namespace URI string is fixed.
676            (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
677            (removeAttribute, removeAttributeNS): DTD default attributes
678            are supported.  Don't throw |NO_MODIFICATION_ALLOWED_ERR|
679            if there is no attribute node.
680            (createElement, createElementNS): DTD default attributes are supported.
681            (setAttributeNode): Reimplemented.
682    
683    2006-01-27  Wakaba  <wakaba@suika.fam.cx>
684    
685            * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
686    
687            * Tree.dis (STORESIZE): Index bound bug fixed.
688            (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
689            (schemaTypeInfo): Implemented for XML DTD.
690            (isId): Returns |true| if [attribute type] is |ID|.
691            (setAttribute, setAttributeNS): Sets [attribute type]
692            of the newly created |Attr| node (if any) when attribute
693            definition is available.
694            (doctype, documentElement): Reimplemented with tests.
695    
696            * XMLParser.dis: Sets [attribute type] information
697            to created |Attr| nodes.  Normalize namespace URIs
698            when such information are available (unlikely but legal).
699            (_HexadecimalCharacterReference): Number to character
700            convertion bug fixed.
701            (_DocumentTypeDeclaration): Sets |schema-type|
702            configuration parameter to XML DTD URI.
703    
704    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
705    
706            * XMLParser.dis (_AttlistDeclaration): Now it can generate
707            attribute definition nodes.
708    
709            * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
710            and another |UNKNOWN_ATTR| constant is introduced
711            for consistency with XML Infoset.
712    
713            * DOMCore.dis (TypeInfo): Documentation updated.
714    
715    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
716    
717            * XDoctype.dis: A bug in test code fixed.
718    
719            * Tree.dis (NamedNodeMap): Element type or attribute
720            definition named node maps now can be dereferenced
721            as if they are array or hash references.
722            (removeNamedItem, item, ___report_error): Implemented for element type
723            or attribute definitions.
724            (length): Tests added.
725            (NamedNodeMapArray): New classes.
726    
727    2006-01-25  Wakaba  <wakaba@suika.fam.cx>
728    
729            * XDoctype.dis (setElementTypeDefinitionNode,
730            setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
731            if the new node is already used for another definition.
732            (DocumentTypeDefinition, ElementTypeDefinition): Node
733            property name was incorrect.
734            (elementTypes, attributeDefinitions): Checks to
735            ensure the collection is empty added.
736    
737            * Tree.dis: Property name typos fixed.
738            (setNamedItem, setAttributeNode): Don't return any node
739            if it replace itself.
740            (c:userDeterminedId): Missing definition added.
741    
742            * DOMXML.dis (Notation): Missing property specification
743            of|c:ownerDocument| as |mn:xrefnode0| is added.
744    
745  2006-01-23  Wakaba  <wakaba@suika.fam.cx>  2006-01-23  Wakaba  <wakaba@suika.fam.cx>
746    
747          * DOMCore.dis (Test): Missing argument added.          * DOMCore.dis (Test): Missing argument added.

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.158

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24