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 2002/11/19 18:25:25 UTC
DO NOT REPLY [Bug 14688] New: -
better cross-platform support by making CRLF optional in output
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=14688>.
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=14688
better cross-platform support by making CRLF optional in output
Summary: better cross-platform support by making CRLF optional in
output
Product: XalanC
Version: 1.4.x
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: XalanC
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: govoip@hotmail.com
The XMLSupport/FormatterToText::characters() function always replaces line
feeds by carriage return/line feed characters in text formatted output based on
definition of XALAN_NEWLINE_IS_CRLF macro. This produces CRLF in output if
Xalan is compiled and run on Windows machines and may not be always desired
especially if the output is intended for Unix like systems. FormatterToXML
also does the same. This requires the caller to do post processing of output
to undo this effect. A method to enable/disable this translation may be very
useful for cross-platform support.