Re: Newlines

From: Mike Kienenberger (mkienen..laska.net)
Date: Tue Jun 21 2005 - 11:04:38 EDT

  • Next message: Mike Kienenberger: "Re: Vertical inheritance support proposal"

    Kevin Menard <kmenar..ervprise.com> wrote:
    > So I'm wrapping up this XML encoder stuff, and I just noticed that when
    > converting to a String, JDOM using \r\n by default. This seems like an
    > odd default to me, and is at least configurable. Any thoughts on this?
    > Just use the default \r\n or change it to \n? It really doesn't matter
    > much to me since the corresponding decoder will handle it fine either
    > way . . .

    Perhaps this would cause inter-platform problems, but I'd think

            System.getProperty("line.separator");

    would be the obvious first choice.

    -Mike



    This archive was generated by hypermail 2.0.0 : Tue Jun 21 2005 - 11:02:00 EDT