[jdom-interest] end-of-line character
kevinr at valicert.com
Wed Jul 5 13:58:28 PDT 2000
All XML-aware applications that use an XML processor will
only ever see '\n', correct? In this case, it does not seem
to matter how the document is output. In this event, I guess
the question should be whether it is more important to output
the document in a standard way or output it in a way that would
be useful for viewing by standard text editors/viewers on the
system that the document is created on.
From: Jason Hunter [mailto:jhunter at collab.net]
Sent: Wednesday, July 05, 2000 1:06 PM
To: alex at jguru.com
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] end-of-line character
> I reread the javadoc and println() is what prints platform-dependent
> line-endings. The current version of XMLOutputter that I can have
> (pre-Rusty, I think) uses println() all over, which is correct.
Well, why is that "correct"? Remember, we had this debate after
Elliotte's change and standardizing on \r\n was fairly well agreed upon
for numerous reasons.
To control your jdom-interest membership:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2979 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20000705/364fc7de/smime.bin
More information about the jdom-interest