I am running the same command on several windows boxes
and get different line endings ('\n' or "\r\n") depending on which machine I am running the script.
The input files and saxon8.jar are exactly the same on all machines.
The version of the java machine is not. But due to development issues this is difficult to accomplish.
First, sorry for not responding earlier. I don't get notified of messages on this forum. The forum seems to have recently reappeared with changes to the Sourceforge GUI, and I hadn't noticed it.
This is essentially a Java question, and I'm afraid I don't know the answer.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am running the same command on several windows boxes
and get different line endings ('\n' or "\r\n") depending on which machine I am running the script.
The input files and saxon8.jar are exactly the same on all machines.
The version of the java machine is not. But due to development issues this is difficult to accomplish.
Command :
java -jar D:\saxon8.jar D:\Foo.xml D:\Bar.xsl > D:\Messages.html
What settings in the environment or within java influence the line ending ?
I tried to set the line separator by adding -Dline.separator='\n' to the arguments of java,
but this did not had any result.
Any suggestions are much appreciated,
Tibor den Ouden
First, sorry for not responding earlier. I don't get notified of messages on this forum. The forum seems to have recently reappeared with changes to the Sourceforge GUI, and I hadn't noticed it.
This is essentially a Java question, and I'm afraid I don't know the answer.