I'd actually vote for no newlines or indenting of any kind, ala most
SOAP stacks out there. It's annoying for debugging, but most monitor
tools these days automatically reformat the code for you anyway.
I think when you're talking about potential distributed use,
performance far outweighs style. However, its probably best to make it
an option :)
Cris
On 6/21/05, John Martyniak <jmarty..x.netcom.com> wrote:
> I don't think that it matters.
>
> But I would vote for \n.
>
> -john
>
> On Jun 20, 2005, at 7:17 PM, Kevin Menard 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 . . .
> >
> > --
> > Kevin
> >
>
>
This archive was generated by hypermail 2.0.0 : Tue Jun 21 2005 - 09:41:52 EDT