<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [jdom-interest] XMLOutputter beta7-6 compatibility</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>>>Can you give a snippet of the old and the new so I can understand what your </FONT>
<BR><FONT SIZE=2>>>issue is?</FONT>
</P>
<P><FONT SIZE=2>Beta 0006</FONT>
</P>
<P><FONT SIZE=2><jxtr-result></FONT>
<BR><FONT SIZE=2> <level0></FONT>
<BR><FONT SIZE=2>1 <el-c_id l1-at-all-c_id="1" /></FONT>
<BR><FONT SIZE=2>Note 1 <el-c_note l1-at-all-c_note="Note 1" /></FONT>
<BR><FONT SIZE=2>false </FONT>
<BR><FONT SIZE=2>....</FONT>
</P>
<BR>
<P><FONT SIZE=2>Beta 0007</FONT>
</P>
<P><FONT SIZE=2><jxtr-result></FONT>
<BR><FONT SIZE=2> <level0></FONT>
<BR><FONT SIZE=2> 1</FONT>
<BR><FONT SIZE=2> <el-c_id l1-at-all-c_id="1" /></FONT>
<BR><FONT SIZE=2> Note 1</FONT>
<BR><FONT SIZE=2> <el-c_note l1-at-all-c_note="Note 1" /></FONT>
<BR><FONT SIZE=2> false</FONT>
<BR><FONT SIZE=2>...</FONT>
</P>
<P><FONT SIZE=2>The differences I saw were related to mixed content (and to be honest I never really understood the logic behind the beta 0006 output). </FONT></P>
<P><FONT SIZE=2>Anyway, hope this explains what I was trying to point out.</FONT>
</P>
<P><FONT SIZE=2>Thanks,</FONT>
</P>
<P><FONT SIZE=2>Peter</FONT>
</P>
<BR>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Alex Chaffee [<A HREF="mailto:guru@stinky.com">mailto:guru@stinky.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Tuesday, July 10, 2001 5:57 PM</FONT>
<BR><FONT SIZE=2>To: Peter Coppens</FONT>
<BR><FONT SIZE=2>Cc: 'jdom-interest@jdom.org'</FONT>
<BR><FONT SIZE=2>Subject: Re: [jdom-interest] XMLOutputter beta7-6 compatibility</FONT>
</P>
<BR>
<P><FONT SIZE=2>Peter Coppens wrote:</FONT>
</P>
<P><FONT SIZE=2>> Is there a way to have the Beta7 XMLOutputter create output that is the </FONT>
<BR><FONT SIZE=2>> same as the Beta 6 XMLOutputter output.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I use the following code to output XML.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> org.jdom.output.XMLOutputter jOut = new org.jdom.output.XMLOutputter ( </FONT>
<BR><FONT SIZE=2>> " ", true, encoding );</FONT>
<BR><FONT SIZE=2>> jOut.setLineSeparator ( System.getProperty ( "line.separator" ) );</FONT>
<BR><FONT SIZE=2>> jOut.output ( jdoc, writer );</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> This (also) works fine with Beta 7, but the problem is the output is </FONT>
<BR><FONT SIZE=2>> differently formatted. Although the Beta7 output certainly 'looks' </FONT>
<BR><FONT SIZE=2>> better, I have about 128Mb of regression testing output I now have to </FONT>
<BR><FONT SIZE=2>> update.</FONT>
<BR><FONT SIZE=2>> </FONT>
</P>
<BR>
<P><FONT SIZE=2>Don't update it yet -- I'm about to change the behavior again :-) Actually, </FONT>
<BR><FONT SIZE=2>my plan is to give you enough flexibility to make it look however you like, </FONT>
<BR><FONT SIZE=2>maybe. (Assuming Jason et al. approve.)</FONT>
</P>
<P><FONT SIZE=2>Can you give a snippet of the old and the new so I can understand what your </FONT>
<BR><FONT SIZE=2>issue is?</FONT>
</P>
<BR>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Alex Chaffee <A HREF="mailto:alex@jguru.com">mailto:alex@jguru.com</A></FONT>
<BR><FONT SIZE=2>jGuru - Java News and FAQs <A HREF="http://www.jguru.com/alex/" TARGET="_blank">http://www.jguru.com/alex/</A></FONT>
<BR><FONT SIZE=2>Creator of Gamelan <A HREF="http://www.gamelan.com/" TARGET="_blank">http://www.gamelan.com/</A></FONT>
<BR><FONT SIZE=2>Founder of Purple Technology <A HREF="http://www.purpletech.com/" TARGET="_blank">http://www.purpletech.com/</A></FONT>
<BR><FONT SIZE=2>Curator of Stinky Art Collective <A HREF="http://www.stinky.com/" TARGET="_blank">http://www.stinky.com/</A></FONT>
</P>
</BODY>
</HTML>