Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Cannot output CRLF

From: Owen Rees <owen.rees@------>
To:
Date: 5/4/2006 10:19:00 AM
--On 03 May 2006 17:57 -0400 Paul Venuti wrote:



Sorry, just saw your message in my inbox after I replied to Michael. I'm
invoking Saxon from the command line on a Windows XP Pro system, like so:

C:\BMtest>java net.sf.saxon.Transform -o bpam-out.txt bpam.xml crlf.xsl
Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor

Just so we're both on the same page, I upgraded to the latest A version:



C:\BMtest>java net.sf.saxon.Transform -t
Saxon 8.7.1J from Saxonica
Java version 1.4.0_04

and ran it again. Still the same result.

I am using java version 1.5.0_05 on my Windows XP system, but I don't think 
that is the issue; I get the CR with both the 1.5.0_06 and 1.4.2_10 
versions of Java on my Linux system.



How are you checking what is in the output file? Since CRLF is the Windows 
native end of line it may be the tool you are using to read the file that 
is doing end-of-line translations. How big does 'dir' say the file is 
(should be 8)?



--
Owen Rees <owen.rees@xxxxxx>
Hewlett Packard Laboratories, Bristol, UK
tel: +44 117 312 9439 fax: +44 117 312 8924


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent