Lien ending issue

saxon-help
2006-11-23
2012-10-08
  • 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

     
    • Michael Kay
      Michael Kay
      2006-11-30

      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.