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=17426>. 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=17426 Xalan create bad ENTER symbol when redirecting STDOUT to the file on windows Summary: Xalan create bad ENTER symbol when redirecting STDOUT to the file on windows Product: XalanC Version: 1.4.x Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am using xalan-c 1.4.0 with xerces 2.1.0. Output from Xalan.exe and TestXSLT.exe (which are part of xalan-c distribution) has bad enter symbols when is output obtained by redirecting STDOUT to file. Open console and try: 1) this works good: xalan -o out source.xml style.xsl (result: out.xml has always CRLF at the end of lines and this does not depends on enters in input files) 2) this works bad: xalan source.xml style.xsl > out.xml (result: out.xml has always strange CRCRLF at the end of lines and this does not depends on enters in input files)!! 3) Same results described in 1) and 2) are with TestXSLT.exe This problem is not only when runnig directly from console, but also when runnig as a child process of some program and capturing output from STDOUT (I am trying using xalan.exe in my program which is written in python with using wxPython library). Tested on win98 and win2000.
