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-17 22:59 ------- AFAIK, I believe the XML spec indictates that the internal representation of an XML document must use a single line feed (LF) to indicate the end of a line regardless of the underlying platform. Serialized xml may use platform dependent representations (such as CRLF on Windows) but conforming parsers must translate the platform specific end-of-line character to a single LF. See [1]. As for workarounds, I believe it is the responsibility of the application designer to ensure that platform specific end-of-line characters are traslated into single LF characters before inserting them into a DOMDocument. If this isn't possible, a good place to ask for solutions would be the the Mulberry XSL List [2]. [1] http://www.w3.org/TR/2004/REC-xml-20040204/#sec-line-ends [2] http://www.mulberrytech.com/xsl/xsl-list/
