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 26924] - Enhance CIncludeTrasnformer to handle encoding parameter
Date Tue, 16 Mar 2004 11:59:39 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=26924>.
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=26924

Enhance CIncludeTrasnformer to handle encoding parameter





------- Additional Comments From marco@davtec.nl  2004-03-16 11:59 -------
Yes, I am searching for a better suggestion.
So far...

XMLUtils serializeNode(node, format) is used to create a string out of the
recorded XML. This uses a StreamResult on StringWriter to get the serialized
String with the TransformerHandler. I am not sure but think (see
http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/stream/StreamResult.html#StreamResult(java.io.Writer))
the encoding should be ignored by Xalan, since a streamresult with writer is
used. But it doesn't. I will ask on the xalan mailing list, because I get lost
in the Xalan source.

Perhaps there's another (better?) way too of converting the Node to String?

Mime
View raw message