DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23357>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23357 TRAX and Xalan get confused when writing to a JspWriter Summary: TRAX and Xalan get confused when writing to a JspWriter Product: Tomcat 4 Version: 4.1.27 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I've got JDK 1.4.1_01-b01 running on Linux RHAS 2.1. I set up the TRAX API to format some data using an XSLT stylesheet. I create a javax.xml.transform.stream.StreamResult passing the current JSP page's writer as the argument to the constructor. The XSLT sheet say 'encoding UTF-8', and the JSP page is a UTF-8 page. All the the non-latin-1 characters are smashed to ?'s. If I create a StringWriter, point trax at that, and then write the resulting string to the JspWriter, all is well. This problem occurs with the Xalan that comes with the JDK and also with 2.5.1. If I use saxon, it does something more useful but still wrong -- it represents all the interesting characters as &#nnnnnn; sequences. I cannot produce any form of this bug with any writer except the JspWriter. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]