[jdom-interest] Hard-Coded Newlines
Neuman, Ben
Ben.Neuman at ImpactInnovations.com
Thu Feb 22 08:39:26 PST 2001
I ran into this problem as well when I upgraded to b6. I used
xmlOutputter.setLineSeparator(""); to remedy this situation.
> -----Original Message-----
> From: Carlton, Lincoln J. [SMTP:Lincoln.J.Carlton at WellsFargo.COM]
> Sent: Thursday, February 22, 2001 11:00 AM
> To: GB/DEV - Philip Nelson; jdom-interest at jdom.org
> Subject: RE: [jdom-interest] Hard-Coded Newlines
>
> It's new in b6. In b5 these were absent in the output(Document, Writer)
> and
> conditional in the printDeclaration(Document,Writer,String).
>
> > -----Original Message-----
> > From: GB/DEV - Philip Nelson
> [SMTP:philip.nelson at omniresources.com]
> > Sent: Thursday, February 22, 2001 6:44 AM
> > To: 'Lincoln.J.Carlton at WellsFargo.COM'; jdom-interest at jdom.org
> > Subject: RE: [jdom-interest] Hard-Coded Newlines
> >
> >
> > > Though I agree with the comment on semantics, how the output
> > > "looks" is
> > > subjective. If I set newlines to false, the output should be
> > > newline-free,
> > > right?
> >
> > What version of JDOM are you using? I haven't tried this recently but I
> > rely on a no newline document in some cases and I can get it. I'll try
> > running that code with the b6 version an verify it still works.
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourh
> ost.com
More information about the jdom-interest
mailing list