[jdom-interest] end-of-line character
Kevin Regan
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.
--Kevin
-----Original Message-----
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.
-jh-
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@you
rhost.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2979 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20000705/364fc7de/smime.bin
More information about the jdom-interest
mailing list