[jdom-interest] XMLOutputter in nonewline mode

Laurent Bihanic lbihanic at atos-group.com
Mon Oct 2 04:19:22 PDT 2000

Alex Chaffee wrote:
> Yeah, I noticed the following when I was cleaning it up:
>             // Always print new line after declaration, to be safe
>             out.write(lineSeparator);
> Is there some XML-spec reason that there has to be a linefeed after
> the declaration even when newlines are off?

I haven't search the XML spec. for that but I've been running JDOM Beta4 for
over a month with a similar change to XMLOutputter and Xerces' SAX parser
never complained !


More information about the jdom-interest mailing list