cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29061] - XMLDBSource: default character encoding
Date Wed, 02 Jun 2004 12:09:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29061>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29061

XMLDBSource: default character encoding





------- Additional Comments From uv@upaya.co.uk  2004-06-02 12:09 -------
Thanks for the patch (you got your two filenames the wrong way around it seems,
but otherwise the patch creation process worked fine).

What you have done is added a new close() method that supplies an encoding. The
close() method is a standard part of the OutputStream interface, so we cannot
assume that someone will call a different version of close.

What we need is a way to configure the XMLDBSource with an output encoding.
Maybe, adding an output-encoding attribute to the <driver> node within the XMLDB
configuration in cocoon.xconf. This woul need to be interpreted within the
XMLDBSourceFactory, and probably stored as a database property, so that the
XMLDBSource can access it when it does the close() operation.

Upayavira

Mime
View raw message