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=29706>. 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=29706 Carriage returns in HTML output ------- Additional Comments From [EMAIL PROTECTED] 2004-06-24 23:09 ------- Developers note: The problem seems to be that class ElemAttribute has a "constructNode" method that does this: String val = transformer.transformToString(this); and this TransformerImpl.transformToString(...) method does this: m_serializationHandler = (ToTextStream) m_textResultHandlerObjectPool.getInstance(); It uses a pool of ToTextStream serializers. The ToTextStream serializer thinks that the output is for a final result tree rather than a temporary one, so it changes \n to \r\n It shouldn't do this for intermediate rather than final output. The fix would be either to explicitly tell a serializer that it its outut is intermediate or final, or to try to guess this based on the fact that each of the ToTextStream serializers has no encoding set. - Brian Minchau --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
