[jdom-interest] XMLOutputter in nonewline mode

Alex Chaffee guru at edamame.stinky.com
Mon Oct 2 01:09:44 PDT 2000


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?

 - A


On Fri, Sep 29, 2000 at 04:05:37PM -0400, James Manning wrote:
> I built jdom from CVS and had it make my program die.  My program
> assumes that XMLOutputter in nonewline mode will transmit the document
> in a single line.  Unfortunately, a cr/lf was in the stream after the
> <?xml ... ?> line.
> 
> could this get fixed?
> 
> Please cc: if at all possible, as I'm not on jdom-interest (yet :)
> 
> James
> -- 
> James Manning <jmm at computer.org>
> GPG Key fingerprint = B913 2FBD 14A9 CE18 B2B7  9C8E A0BF B026 EEBB F6E4
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

-- 
Alex Chaffee                       mailto:alex at jguru.com
jGuru - Java News and FAQs         http://www.jguru.com/alex/
Creator of Gamelan                 http://www.gamelan.com/
Founder of Purple Technology       http://www.purpletech.com/
Curator of Stinky Art Collective   http://www.stinky.com/



More information about the jdom-interest mailing list