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

Legend:
Removed from v.1.117  
changed lines
  Added in v.1.139

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24