<!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>&gt;&gt;Can you give a snippet of the old and the new so I can understand what your </FONT>
<BR><FONT SIZE=2>&gt;&gt;issue is?</FONT>
</P>

<P><FONT SIZE=2>Beta 0006</FONT>
</P>

<P><FONT SIZE=2>&lt;jxtr-result&gt;</FONT>
<BR><FONT SIZE=2>&nbsp; &lt;level0&gt;</FONT>
<BR><FONT SIZE=2>1&nbsp;&nbsp;&nbsp; &lt;el-c_id l1-at-all-c_id=&quot;1&quot; /&gt;</FONT>
<BR><FONT SIZE=2>Note 1&nbsp;&nbsp;&nbsp; &lt;el-c_note l1-at-all-c_note=&quot;Note 1&quot; /&gt;</FONT>
<BR><FONT SIZE=2>false&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>....</FONT>
</P>
<BR>

<P><FONT SIZE=2>Beta 0007</FONT>
</P>

<P><FONT SIZE=2>&lt;jxtr-result&gt;</FONT>
<BR><FONT SIZE=2>&nbsp; &lt;level0&gt;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; 1</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; &lt;el-c_id l1-at-all-c_id=&quot;1&quot; /&gt;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; Note 1</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; &lt;el-c_note l1-at-all-c_note=&quot;Note 1&quot; /&gt;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; 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>&gt; Is there a way to have the Beta7 XMLOutputter create output that is the </FONT>
<BR><FONT SIZE=2>&gt; same as the Beta 6 XMLOutputter output.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; I use the following code to output XML.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; org.jdom.output.XMLOutputter jOut = new org.jdom.output.XMLOutputter ( </FONT>
<BR><FONT SIZE=2>&gt; &quot;&nbsp; &quot;, true, encoding );</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; jOut.setLineSeparator ( System.getProperty ( &quot;line.separator&quot; ) );</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; jOut.output ( jdoc, writer );</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; This (also) works fine with Beta 7, but the problem is the output is </FONT>
<BR><FONT SIZE=2>&gt; differently formatted. Although the Beta7 output certainly 'looks' </FONT>
<BR><FONT SIZE=2>&gt; better, I have about 128Mb of regression testing output I now have to </FONT>
<BR><FONT SIZE=2>&gt; update.</FONT>
<BR><FONT SIZE=2>&gt; </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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="mailto:alex@jguru.com">mailto:alex@jguru.com</A></FONT>
<BR><FONT SIZE=2>jGuru - Java News and FAQs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://www.jguru.com/alex/" TARGET="_blank">http://www.jguru.com/alex/</A></FONT>
<BR><FONT SIZE=2>Creator of Gamelan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://www.gamelan.com/" TARGET="_blank">http://www.gamelan.com/</A></FONT>
<BR><FONT SIZE=2>Founder of Purple Technology&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://www.purpletech.com/" TARGET="_blank">http://www.purpletech.com/</A></FONT>
<BR><FONT SIZE=2>Curator of Stinky Art Collective&nbsp;&nbsp; <A HREF="http://www.stinky.com/" TARGET="_blank">http://www.stinky.com/</A></FONT>
</P>

</BODY>
</HTML>