<DIV>Hi,<BR>I am trying to create the following-<BR>&lt;dataSet&gt;<BR>&nbsp;&lt;user username="user123" password="xxxxxx1" /&gt;&nbsp;<BR>&lt;/dataSet&gt;</DIV>
<DIV>This is my code--</DIV>
<DIV>&nbsp;Element root = new Element("DataSet");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Document doc = new Document(root);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Element user = new Element("username");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Element passwd = new Element("password");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Element passwd = new Element("password").setText(str1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Attribute userattr = new Attribute(uattr,str);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Attribute passwdattr = new Attribute(pattr,str1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Element user = new Element("username").setAttribute(str);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user.setAttribute(str);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; passwd.setAttribute(str1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root.addContent(user);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root.addContent(passwd);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } catch(IllegalAddException i) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(i);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV>
<DIV>The element attributes will be read from a file. They are not to be created.<BR>But this code is not working.<BR>Can anybody tell me how to create the above.<BR><BR><B><I>jdom-interest-request@jdom.org</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Send jdom-interest mailing list submissions to<BR>jdom-interest@jdom.org<BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>http://lists.denveronline.net/mailman/listinfo/jdom-interest<BR>or, via email, send a message with subject or body 'help' to<BR>jdom-interest-request@jdom.org<BR><BR>You can reach the person managing the list at<BR>jdom-interest-admin@jdom.org<BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of jdom-interest digest..."<BR><BR><BR>Today's Topics:<BR><BR>1. Jennifer Bailey/BBH is out of the office. (Jennifer.Bailey@bbh.com)<BR>2. Error messages regarding jdom.jar (Koller, Shmuel)<BR>3. JDOMException.initCause is broken. (Russell Black)<BR>4. [ann] TestMaker 4.0.4 now available (Frank Cohen)<BR>5. DOCTYPE Error (Arvind Ramankole)<BR>6. JDOMException.initCause is broken (Russell Black)<BR>7. Enh
 ance
 performance by generating jar file with -0 option (Wolfgang Hoschek)<BR>8. Re: Enhance performance by generating jar file with<BR>-0 option (Jason Hunter)<BR>9. Line numbers (Paul Cantrell)<BR><BR>--__--__--<BR><BR>Message: 1<BR>From: Jennifer.Bailey@bbh.com<BR>To: jdom-interest@jdom.org<BR>Date: Mon, 25 Aug 2003 02:40:23 -0400<BR>Subject: [jdom-interest] Jennifer Bailey/BBH is out of the office.<BR><BR>I will be out of the office starting 08/25/2003 and will not return until 09/08/2003.<BR><BR>If you need immediate assistance, please call Karen Mui (6218) or Judy Gao (6740). Otherwise,I will respond to your email on my return.<BR><BR><BR>Thanks<BR><BR>Jennifer Bailey<BR><BR><BR>--__--__--<BR><BR>Message: 2<BR>From: "Koller, Shmuel" <SHMUEL_KOLLER@BMC.COM><BR>To: jdom-interest@jdom.org<BR>Date: Mon, 25 Aug 2003 02:48:19 -0500<BR>Subject: [jdom-interest] Error messages regarding jdom.jar<BR><BR>I placed jdom.jar which is downloaded as jdom-b9\build\jdom.jar<BR>in appropriate 
 /lib for
 run time class resoltion, but get these messages<BR>during jboss-tomcat startup, thanks for any help, Shmuel Koller<BR><BR>2003-08-25 10:43:39,567 INFO [main] org.jboss.web.localhost.Engine -<BR>StandardWrapper[/EssConfig:invoker]: Loading container servlet invoker<BR>2003-08-25 10:43:39,583 INFO [main] org.jboss.deployment.MainDeployer -<BR>Deployed package:<BR>file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/server<BR>/ess/deploy/ess-middleware.ear<BR>2003-08-25 10:43:39,592 ERROR [main]<BR>org.jboss.deployment.scanner.URLDeploymentScanner - MBeanException:<BR>Exception in MBean operation 'checkIncompleteDeployments()'<BR>Cause: Incomplete Deployment listing:<BR>Packages waiting for a deployer:<BR>[org.jboss.deployment.DeploymentInfo@14f7e54a {<BR>url=file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/se<BR>rver/ess/lib/jdom.jar }<BR>deployer: null<BR>status: null<BR>state:
 INIT_WAITING_DEPLOYER<BR>watch:<BR>file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/server<BR>/ess/lib/jdom.jar<BR>lastDeployed: 1061797394562<BR>lastModified: 1061797363000<BR>mbeans:<BR>]Incompletely deployed packages:<BR>[org.jboss.deployment.DeploymentInfo@14f7e54a {<BR>url=file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/se<BR>rver/ess/lib/jdom.jar }<BR>deployer: null<BR>status: null<BR>state: INIT_WAITING_DEPLOYER<BR>watch:<BR>file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/server<BR>/ess/lib/jdom.jar<BR>lastDeployed: 1061797394562<BR>lastModified: 1061797363000<BR>mbeans:<BR>, org.jboss.deployment.DeploymentInfo@14f7e54a {<BR>url=file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/se<BR>rver/ess/lib/jdom.jar }<BR>deployer: null<BR>status: null<BR>state:
 INIT_WAITING_DEPLOYER<BR>watch:<BR>file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/server<BR>/ess/lib/jdom.jar<BR>lastDeployed: 1061797394562<BR>lastModified: 1061797363000<BR>mbeans:<BR>, org.jboss.deployment.DeploymentInfo@14f7e54a {<BR>url=file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/se<BR>rver/ess/lib/jdom.jar }<BR>deployer: null<BR>status: null<BR>state: INIT_WAITING_DEPLOYER<BR>watch:<BR>file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/server<BR>/ess/lib/jdom.jar<BR>lastDeployed: 1061797394562<BR>lastModified: 1061797363000<BR>mbeans:<BR>, org.jboss.deployment.DeploymentInfo@14f7e54a {<BR>url=file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/se<BR>rver/ess/lib/jdom.jar }<BR>deployer: null<BR>status: null<BR>state: INIT_WAITING_DEPLOYER<BR>watch:<BR>file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/server<BR>/ess/lib/jdom.jar<BR>lastDeployed:
 1061797394562<BR>lastModified: 1061797363000<BR>mbeans:<BR>, org.jboss.deployment.DeploymentInfo@14f7e54a {<BR>url=file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/se<BR>rver/ess/lib/jdom.jar }<BR>deployer: null<BR>status: null<BR>state: INIT_WAITING_DEPLOYER<BR>watch:<BR>file:/home/spml/CTSA_Home/WebCon_Middleware/jboss-3.0.4_tomcat-4.1.12/server<BR>/ess/lib/jdom.jar<BR>lastDeployed: 1061797394562<BR>lastModified: 1061797363000<BR>mbeans:<BR>]MBeans waiting for classes:<BR><NONE><BR>MBeans waiting for other MBeans:<BR><NONE><BR><BR>--__--__--<BR><BR>Message: 3<BR>From: "Russell Black" <OIQOUIA02@SNEAKEMAIL.COM><BR>To: <JDOM-INTEREST@JDOM.ORG><BR>Date: Mon, 25 Aug 2003 11:59:24 -0600<BR>Subject: [jdom-interest] JDOMException.initCause is broken.<BR><BR>This is a multi-part message in MIME format.<BR><BR>------=_NextPart_000_026C_01C36B00.53D33AF0<BR>Content-Type: text/plain;<BR>charset="us-ascii"<BR>Content-Transfer-Encoding: 7bit<BR><BR>initCause should
  return
 "this", not the cause. See the JDK docs. <BR><BR>Russell Black<BR>iArchives Development<BR><BR><BR>------=_NextPart_000_026C_01C36B00.53D33AF0<BR>Content-Type: text/html;<BR>charset="us-ascii"<BR>Content-Transfer-Encoding: quoted-printable<BR><BR>xmlns:w=3D"urn:schemas-microsoft-com:office:word" =<BR>xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =<BR>xmlns=3D"http://www.w3.org/TR/REC-html40"&gt;<BR><BR><BR>
<META http-equiv='3D"Content-Type"' content='3D"text/html;' ="<br">charset=3Dus-ascii"&gt;<BR><BR><BR>
<META content=3DWord.Document name=3DProgId><BR>
<META content='3D"Microsoft' name=3DGenerator 10? Word><BR>
<META content='3D"Microsoft' name=3DOriginator 10? Word><BR><LINK href='3D"cid:filelist.xml@01C36B00.538B5C80"' rel=3DFile-List><BR><o:SmartTagType ="<br">namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"<BR>name=3D"PersonName"/&gt;<BR><BR>
<STYLE><br>st1\:*{behavior:url(#default#ieooui) }<br></STYLE>
<BR><BR>
<STYLE><br><!--<br> /* Style Definitions */<br> p.MsoNormal, li.MsoNormal, div.MsoNormal<br>        {mso-style-parent:"";<br>        margin:0in;<br>        margin-bottom:.0001pt;<br>        mso-pagination:widow-orphan;<br>        font-size:12.0pt;<br>        font-family:"Times New Roman";<br>        mso-fareast-font-family:"Times New Roman";}<br>a:link, span.MsoHyperlink<br>        {color:blue;<br>        text-decoration:underline;<br>        text-underline:single;}<br>a:visited, span.MsoHyperlinkFollowed<br>        {color:purple;<br>        text-decoration:underline;<br>        text-underline:single;}<br>p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig<br>        {margin:0in;<br>        margin-bottom:.0001pt;<br>        mso-pagination:widow-orphan;<br>        font-size:12.0pt;<br>        font-family:"Times New Roman";<br>        mso-fareast-font-family:"Times New Roman";}<br>span.EmailStyle17<br>        {mso-style-type:personal-compose;<br>        mso-style-noshow:yes;<br>        mso-ansi-font-size:10.0pt;<br>        mso-bidi-font-size:10.0pt;<br>        font-family:Arial;<br>        mso-ascii-font-family:Arial;<br>        mso-hansi-font-family:Arial;<br>
        mso-bidi-font-family:Arial;<br>        color:windowtext;}<br>span.SpellE<br>        {mso-style-name:"";<br>        mso-spl-e:yes;}<br>span.GramE<br>        {mso-style-name:"";<br>        mso-gram-e:yes;}<br>@page Section1<br>        {size:8.5in 11.0in;<br>        margin:1.0in 1.25in 1.0in 1.25in;<br>        mso-header-margin:.5in;<br>        mso-footer-margin:.5in;<br>        mso-paper-source:0;}<br>div.Section1<br>        {page:Section1;}<br>--><br></STYLE>
<BR><BR><BR><BR>style=3D'tab-interval:.5in'&gt;<BR><BR>
<DIV class=3DSection1><BR><BR>
<P class=3DMsoNormal><SPAN class=3DSpellE><SPAN class=3DGramE><FONT ="<br">size=3D2<BR>face=3DArial&gt;<SPAN ="<br">style=3D'font-size:10.0pt;font-family:Arial'&gt;initCause</SPAN></FONT></SPA=<BR>n&gt;</SPAN><FONT<BR>size=3D2 face=3DArial&gt;<SPAN ="<br">style=3D'font-size:10.0pt;font-family:Arial'&gt; should<BR>return “this”, not the cause.<SPAN ="<br">style=3D'mso-spacerun:yes'&gt;&nbsp;&nbsp;<BR></SPAN>See the JDK docs.<SPAN>&nbsp; =<BR></SPAN><?xml:namespace prefix = o ns = "3D"urn:schemas-microsoft-com:office:office"" /><o:p></o:p></SPAN></FONT></P><BR><BR>
<P class=3DMsoNormal><FONT face=3DArial size=3><SPAN ="<br">style=3D'font-size:10.0pt;<BR>font-family:Arial'&gt;<o:p>&nbsp;</o:p></SPAN></FONT></P><BR><BR>
<P class=3DMsoAutoSig><?xml:namespace prefix = st1 /><st1:PersonName><FONT face='3D"Times' size=3 New="<br">Roman"&gt;<SPAN<BR> style=3D'font-size:12.0pt;mso-no-proof:yes'&gt;Russell =<BR>Black</SPAN></FONT></st1:PersonName><SPAN<BR>style=3D'mso-no-proof:yes'&gt;<o:p></o:p></SPAN></P><BR><BR>
<P class=3DMsoAutoSig><FONT face='3D"Times' size=3 New Roman?><SPAN ="<br">style=3D'font-size:<BR>12.0pt;mso-no-proof:yes'&gt;iArchives =<BR>Development<o:p></o:p></SPAN></FONT></P><BR><BR>
<P class=3DMsoNormal><FONT face='3D"Times' size=3 New Roman?><SPAN ="<br">style=3D'font-size:<BR>12.0pt'&gt;<o:p>&nbsp;</o:p></SPAN></FONT></P><BR><BR></DIV><BR><BR><BR><BR><BR><BR>------=_NextPart_000_026C_01C36B00.53D33AF0--<BR><BR><BR>--__--__--<BR><BR>Message: 4<BR>Date: Mon, 25 Aug 2003 15:40:56 -0700<BR>From: Frank Cohen <FCOHEN@PUSHTOTEST.COM><BR>To: jdom-interest@jdom.org<BR>Subject: [jdom-interest] [ann] TestMaker 4.0.4 now available<BR><BR>TestMaker 4.0.4 is now available for free download at the <BR>PushToTest.com Web site. The new software includes the following new <BR>features:<BR><BR>- A quick access panel to start the script Recorder, search for text in <BR>a test agent script, and create a new test agent.<BR><BR>- A new system variable that enables test agent scripts to drive the <BR>TestMaker utility. For example, to programmatically clear the contents <BR>of the output window.<BR><BR>- TestMaker now includes a fully functional client to state tests on
 <BR>TestNetwork. TestNetwork is a commercial product that provides a <BR>distributed test environment to run TestMaker test agents.<BR><BR>TestMaker is an open-source test tool that software developers, QA <BR>technicians and IT managers use to check Web-enabled applications for <BR>scalability, performance and functionality. TestMaker comes with JDOM <BR>bundled-in.<BR><BR>Thanks for helping me get the word out about the new version of <BR>TestMaker.<BR><BR>-Frank<BR><BR>---<BR>Frank Cohen, Founder, http://www.PushToTest.com, phone: 408 374 7426 USA<BR><BR>PushToTest offers free open-source test software and global service <BR>solutions that test, monitor and automate Web Service systems for <BR>functionality, scalability and performance.<BR><BR><BR>--__--__--<BR><BR>Message: 5<BR>From: Arvind Ramankole <ARAMANKOLE@NPR.ORG><BR>To: "'jdom-interest@jdom.org'" <JDOM-INTEREST@JDOM.ORG><BR>Date: Mon, 25 Aug 2003 15:40:45 -0400<BR>Subject: [jdom-interest] DOCTYPE Error<BR><BR><BR
 >Hi
 All,<BR>I am new to jdom and using SAXBuilder, I am getting following<BR>error.<BR>org.jdom.JDOMException: Error on line 1 of document<BR>http://www.mysite.org/xml/StockReport.dtd: The<BR>markup declarations contained or pointed to by the document type<BR>declaration must be well-formed.<BR><BR>When I include the DTD inside the XML file it works fine with out any<BR>errors. It also works when I take out the DOCTYPE from the xml file.<BR><BR>please advice.<BR><BR>Arvind<BR><BR><BR>XML file----<BR><?xml version="1.0" encoding="UTF-8"?><BR><BR><STOCKREPORT><BR><INVENTORY><BR><ITEM>NPAMSHOL</ITEM><BR><AVAILABLE>28</AVAILABLE><BR></INVENTORY><BR><INVENTORY><BR><ITEM>NPATCT100WL</ITEM><BR><AVAILABLE>44</AVAILABLE><BR></INVENTORY><BR></STOCKREPORT><BR><BR><BR>DTD file---<BR><!ELEMENT StockReport (Inventory+)><BR><!ELEMENT Inventory (Item,Available)><BR><!ELEMENT Item (#PCDATA)><BR><!ELEMENT Available (#PCDATA)><BR>]&gt;<BR><BR>--__--__--<BR><BR>Message: 6<BR>From: "Russell Black"
 <RUSSELL.BLACK@IARCHIVES.COM><BR>To: <JDOM-INTEREST@JDOM.ORG><BR>Date: Mon, 25 Aug 2003 11:50:37 -0600<BR>Subject: [jdom-interest] JDOMException.initCause is broken<BR><BR>This is a multi-part message in MIME format.<BR><BR>------=_NextPart_000_025B_01C36AFF.19BD58B0<BR>Content-Type: text/plain;<BR>charset="us-ascii"<BR>Content-Transfer-Encoding: 7bit<BR><BR>initCause should return "this", not the cause. See the JDK docs. <BR><BR>Russell Black<BR>iArchives Development<BR><BR><BR>------=_NextPart_000_025B_01C36AFF.19BD58B0<BR>Content-Type: text/html;<BR>charset="us-ascii"<BR>Content-Transfer-Encoding: quoted-printable<BR><BR>xmlns:w=3D"urn:schemas-microsoft-com:office:word" =<BR>xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =<BR>xmlns=3D"http://www.w3.org/TR/REC-html40"&gt;<BR><BR><BR>
<META http-equiv='3D"Content-Type"' content='3D"text/html;' ="<br">charset=3Dus-ascii"&gt;<BR><BR><BR>
<META content=3DWord.Document name=3DProgId><BR>
<META content='3D"Microsoft' name=3DGenerator 10? Word><BR>
<META content='3D"Microsoft' name=3DOriginator 10? Word><BR><LINK href='3D"cid:filelist.xml@01C36AFF.19431FA0"' rel=3DFile-List><BR><o:SmartTagType ="<br">namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"<BR>name=3D"PersonName"/&gt;<BR><BR>
<STYLE><br>st1\:*{behavior:url(#default#ieooui) }<br></STYLE>
<BR><BR>
<STYLE><br><!--<br> /* Style Definitions */<br> p.MsoNormal, li.MsoNormal, div.MsoNormal<br>        {mso-style-parent:"";<br>        margin:0in;<br>        margin-bottom:.0001pt;<br>        mso-pagination:widow-orphan;<br>        font-size:12.0pt;<br>        font-family:"Times New Roman";<br>        mso-fareast-font-family:"Times New Roman";}<br>a:link, span.MsoHyperlink<br>        {color:blue;<br>        text-decoration:underline;<br>        text-underline:single;}<br>a:visited, span.MsoHyperlinkFollowed<br>        {color:purple;<br>        text-decoration:underline;<br>        text-underline:single;}<br>p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig<br>        {margin:0in;<br>        margin-bottom:.0001pt;<br>        mso-pagination:widow-orphan;<br>        font-size:12.0pt;<br>        font-family:"Times New Roman";<br>        mso-fareast-font-family:"Times New Roman";}<br>span.EmailStyle17<br>        {mso-style-type:personal-compose;<br>        mso-style-noshow:yes;<br>        mso-ansi-font-size:10.0pt;<br>        mso-bidi-font-size:10.0pt;<br>        font-family:Arial;<br>        mso-ascii-font-family:Arial;<br>        mso-hansi-font-family:Arial;<br>
        mso-bidi-font-family:Arial;<br>        color:windowtext;}<br>span.SpellE<br>        {mso-style-name:"";<br>        mso-spl-e:yes;}<br>span.GramE<br>        {mso-style-name:"";<br>        mso-gram-e:yes;}<br>@page Section1<br>        {size:8.5in 11.0in;<br>        margin:1.0in 1.25in 1.0in 1.25in;<br>        mso-header-margin:.5in;<br>        mso-footer-margin:.5in;<br>        mso-paper-source:0;}<br>div.Section1<br>        {page:Section1;}<br>--><br></STYLE>
<BR><BR><BR><BR>style=3D'tab-interval:.5in'&gt;<BR><BR>
<DIV class=3DSection1><BR><BR>
<P class=3DMsoNormal><SPAN class=3DSpellE><SPAN class=3DGramE><FONT ="<br">size=3D2<BR>face=3DArial&gt;<SPAN ="<br">style=3D'font-size:10.0pt;font-family:Arial'&gt;initCause</SPAN></FONT></SPA=<BR>n&gt;</SPAN><FONT<BR>size=3D2 face=3DArial&gt;<SPAN ="<br">style=3D'font-size:10.0pt;font-family:Arial'&gt; should return<BR>“this”, not the cause.<SPAN ="<br">style=3D'mso-spacerun:yes'&gt;&nbsp; </SPAN><SPAN<BR>style=3D'mso-spacerun:yes'&gt;&nbsp;</SPAN>See the JDK docs.<SPAN<BR>style=3D'mso-spacerun:yes'&gt;&nbsp; </SPAN><o:p></o:p></SPAN></FONT></P><BR><BR>
<P class=3DMsoNormal><FONT face=3DArial size=3><SPAN ="<br">style=3D'font-size:10.0pt;<BR>font-family:Arial'&gt;<o:p>&nbsp;</o:p></SPAN></FONT></P><BR><BR>
<P class=3DMsoAutoSig><st1:PersonName><FONT face='3D"Times' size=3 New="<br">Roman"&gt;<SPAN<BR> style=3D'font-size:12.0pt;mso-no-proof:yes'&gt;Russell =<BR>Black</SPAN></FONT></st1:PersonName><SPAN<BR>style=3D'mso-no-proof:yes'&gt;<o:p></o:p></SPAN></P><BR><BR>
<P class=3DMsoAutoSig><FONT face='3D"Times' size=3 New Roman?><SPAN ="<br">style=3D'font-size:<BR>12.0pt;mso-no-proof:yes'&gt;iArchives =<BR>Development<o:p></o:p></SPAN></FONT></P><BR><BR>
<P class=3DMsoNormal><FONT face='3D"Times' size=3 New Roman?><SPAN ="<br">style=3D'font-size:<BR>12.0pt'&gt;<o:p>&nbsp;</o:p></SPAN></FONT></P><BR><BR></DIV><BR><BR><BR><BR><BR><BR>------=_NextPart_000_025B_01C36AFF.19BD58B0--<BR><BR><BR>--__--__--<BR><BR>Message: 7<BR>Date: Tue, 19 Aug 2003 15:37:42 -0700<BR>From: Wolfgang Hoschek <WHOSCHEK@LBL.GOV><BR>Cc: Wolfgang Hoschek <WHOSCHEK@LBL.GOV><BR>Subject: [jdom-interest] Enhance performance by generating jar file with -0 option<BR><BR>Would you consider generating jar files with the -0 option to store <BR>files in the jar file without using ZIP compression?<BR><BR>Although this typically doubles the jar file size, it increases class <BR>loading performance (except when used in applets which are presumably <BR>not that important here). For example the JDK rt.jar is produced that way.<BR><BR>Compatibility: The -0 option was introduced in JDK 1.2<BR><BR>Also see
 http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/jar.html<BR><BR>Thanks.<BR>Wolfgang.<BR><BR><BR>--__--__--<BR><BR>Message: 8<BR>Date: Mon, 25 Aug 2003 17:15:27 -0700<BR>From: Jason Hunter <JHUNTER@SERVLETS.COM><BR>To: "jdom-interest@jdom.org" <JDOM-INTEREST@JDOM.ORG><BR>Cc: Wolfgang Hoschek <WHOSCHEK@LBL.GOV><BR>Subject: Re: [jdom-interest] Enhance performance by generating jar file with<BR>-0 option<BR><BR>What are the numbers behind seeing a performance increase? On a machine <BR>where the disk is slow but the CPU is fast I can imagine it would be <BR>better to read compressed content. Also, in the days of fast CPUs how <BR>much performance does it take to uncompress the classes in a 150K file?<BR><BR>-jh-<BR><BR>Wolfgang Hoschek wrote:<BR><BR>&gt; Would you consider generating jar files with the -0 option to store <BR>&gt; files in the jar file without using ZIP compression?<BR>&gt; <BR>&gt; Although this typically doubles the jar file size, it increases class <BR>&gt;
  loading
 performance (except when used in applets which are presumably <BR>&gt; not that important here). For example the JDK rt.jar is produced that way.<BR>&gt; <BR>&gt; Compatibility: The -0 option was introduced in JDK 1.2<BR>&gt; <BR>&gt; Also see http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/jar.html<BR>&gt; <BR>&gt; Thanks.<BR>&gt; Wolfgang.<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; To control your jdom-interest membership:<BR>&gt; http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com <BR>&gt; <BR>&gt; <BR><BR><BR>--__--__--<BR><BR>Message: 9<BR>Date: Mon, 25 Aug 2003 19:37:46 -0500<BR>From: Paul Cantrell <CANTRELL@POBOX.COM><BR>To: jdom-interest@jdom.org<BR>Subject: [jdom-interest] Line numbers<BR><BR>A question that I'm sure you're sick of hearing, but I didn't see it in <BR>the FAQ:<BR><BR>Is it possible for me to trace a parsed element back to the line number <BR>on which it appeared in the XML source? Probabl
 y this
 information is <BR>thrown away before it even gets to JDOM, but if there's any way to get <BR>at it, it sure would be nice.....<BR><BR>Cheers,<BR><BR>Paul<BR>http://innig.net<BR><BR><BR><BR>--__--__--<BR><BR>_______________________________________________<BR>To control your jdom-interest membership:<BR>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com<BR><BR>End of jdom-interest Digest</BLOCKQUOTE></o:SmartTagType></o:SmartTagType><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo! SiteBuilder</a> - Free, easy-to-use web site design software