DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20841>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20841

linefeed character not handle properly on Windows.





------- Additional Comments From [EMAIL PROTECTED]  2003-06-26 19:40 -------
I may be missing something, but my reading of this -- considering the fact that 
XML itself has an exception to attribute value normalization (if character 
references were used) and trying to read between the lines of the XSLT spec -- 
is that we probably should not be making any attempt to normalize the values of 
attributes in the Temporary Tree/Result Tree Fragment. The text being placed 
there apparently can be copied verbatim, and for performance reasons probably 
should be.

I'd say we shouldn't try to convert XML newline to the platform-native version 
until we are actually ready to write it out to a platform character stream/file.

That probably means transformToString should not be running through the same 
text serializer we use when outputting to the platform stream. It ought to 
either be a simpler mode of serialization (a flag, as Dave suggests), or a 
simpler serializer (which involves more code but might yield better 
performance).

Reply via email to