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

Legend:
Removed from v.1.119  
changed lines
  Added in v.1.137

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24