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=23147>. 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=23147 Carriage returns in text nodes double after being transformed/parsed. ------- Additional Comments From [EMAIL PROTECTED] 2004-03-10 11:20 ------- I added a simple test case that demonstrates the described double carriage return behavior. This behavior does not appear when an XML document is transformed that was created by parsing an XML text file. However, it does appear when transforming a document that was created using the org.w3c.dom.Document factory methods. This seems to be related to bug 27163. The provided test case is packaged as a jar file, which can be executed by: java -classpath <testJar>;<xercesJar>;<xalanJar>;<xmlAPIs> test.TestSerializer The output first shows the result from transforming a document that was created by parsing an XML text file, and second the result from transforming a document that was 'hand-crafted'. Note the double carriage return (byte value 13) in the second piece of output.
