[jdom-interest] XMLOutputter beta7-6 compatibility
Peter Coppens
Peter.Coppens at merant.com
Tue Jul 10 12:29:19 PDT 2001
>>Can you give a snippet of the old and the new so I can understand what
your
>>issue is?
Beta 0006
<jxtr-result>
<level0>
1 <el-c_id l1-at-all-c_id="1" />
Note 1 <el-c_note l1-at-all-c_note="Note 1" />
false
....
Beta 0007
<jxtr-result>
<level0>
1
<el-c_id l1-at-all-c_id="1" />
Note 1
<el-c_note l1-at-all-c_note="Note 1" />
false
...
The differences I saw were related to mixed content (and to be honest I
never really understood the logic behind the beta 0006 output).
Anyway, hope this explains what I was trying to point out.
Thanks,
Peter
-----Original Message-----
From: Alex Chaffee [mailto:guru at stinky.com]
Sent: Tuesday, July 10, 2001 5:57 PM
To: Peter Coppens
Cc: 'jdom-interest at jdom.org'
Subject: Re: [jdom-interest] XMLOutputter beta7-6 compatibility
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
> update.
>
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
issue is?
--
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20010710/45e0fd52/attachment.htm
More information about the jdom-interest
mailing list