You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2004/04/13 23:52:12 UTC

DO NOT REPLY [Bug 23147] - Carriage returns in text nodes double after being transformed/parsed.

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 derrick.koes@smith-nephew.com  2004-04-13 21:52 -------
To quote the spec:
"To simplify the tasks of applications, the XML processor MUST behave as if it 
normalized all line breaks in external parsed entities (including the document 
entity) on input, before parsing, by translating both the two-character 
sequence #xD #xA and any #xD that is not followed by #xA to a single #xA 
character."

I assume this means that my test xml, test.xml, will have &#13;&#10; converted 
to &#10; or &#xA; not &#xA;&#xA;.
This doesn't seem to be the case.  I don't think the processor should add 
the "extra" carriage return.

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org