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-04-13 22:48 -------
The sequence #xD #xA used in the XML spec is used to describe the literal 
content in the document consisting of two bytes, with decimal values 13 and 10 
respectively, which is a form of line break and it will be normalized in the 
document as a single linefeed character. The sequence &#13;&#10; in your 
document, which consists of 10 bytes, is not a line break.  It is two XML 
character references and these characters are not covered, or changed, by line 
break normalization.  It is assumed that if you use a character reference that 
you mean for the distinction to be both relevant and respected by the parser, 
which is what is happening in this case.  If you do not want the extra carriage 
return to appear in your output document then you must not put such a character 
reference in your input document.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to