[jdom-interest] XMLOutputter beta7-6 compatibility
guru at stinky.com
Tue Jul 10 08:56:55 PDT 2001
Peter Coppens wrote:
> Is there a way to have the Beta7 XMLOutputter create output that is the
> same as the Beta 6 XMLOutputter output.
> I use the following code to output XML.
> org.jdom.output.XMLOutputter jOut = new org.jdom.output.XMLOutputter (
> " ", true, encoding );
> jOut.setLineSeparator ( System.getProperty ( "line.separator" ) );
> jOut.output ( jdoc, writer );
> This (also) works fine with Beta 7, but the problem is the output is
> differently formatted. Although the Beta7 output certainly 'looks'
> better, I have about 128Mb of regression testing output I now have to
Don't update it yet -- I'm about to change the behavior again :-) Actually,
my plan is to give you enough flexibility to make it look however you like,
maybe. (Assuming Jason et al. approve.)
Can you give a snippet of the old and the new so I can understand what your
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