<!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.2650.12">
<TITLE>RE: [jdom-interest] JDOM within ATG enviroment</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=2>Actually, I am already using the SAXBuilder, however I am using the StringReader as the input source. In a related note, how much is the input source a factor in the relative performance of building a JDOM document? </FONT></P>
<P><FONT SIZE=2>thanks!</FONT>
</P>
<P><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: Jason Hunter [<A HREF="mailto:jhunter@collab.net">mailto:jhunter@collab.net</A>]</FONT>
<BR><FONT SIZE=2>> Sent: Wednesday, January 17, 2001 8:28 PM</FONT>
<BR><FONT SIZE=2>> To: Jack Huynh</FONT>
<BR><FONT SIZE=2>> Cc: jdom-interest@jdom.org</FONT>
<BR><FONT SIZE=2>> Subject: Re: [jdom-interest] JDOM within ATG enviroment</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> > Jack Huynh wrote:</FONT>
<BR><FONT SIZE=2>> > </FONT>
<BR><FONT SIZE=2>> > Has anyone else noticed performance problems (over a minute </FONT>
<BR><FONT SIZE=2>> and half)</FONT>
<BR><FONT SIZE=2>> > using JDOM/DOM to build and parse a document? </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Sounds like you're using DOMBuilder. If so, try SAXBuilder. It's far</FONT>
<BR><FONT SIZE=2>> faster. (Note the docs for the build() method warning you of this.)</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> -jh-</FONT>
<BR><FONT SIZE=2>> _______________________________________________</FONT>
<BR><FONT SIZE=2>> To control your jdom-interest membership:</FONT>
<BR><FONT SIZE=2>> <A HREF="http://lists.denveronline.net/mailman/options/jdom-interest/yo" TARGET="_blank">http://lists.denveronline.net/mailman/options/jdom-interest/yo</A></FONT>
<BR><FONT SIZE=2>uraddr@yourhost.com</FONT>
</P>
</BODY>
</HTML>