<html><div style='background-color:'><DIV>
<P>Hello Bradley,</P>
<P>Thank you for pointing out the file xerces.jar, I suppose xerces.jar which comes with jdom-b9 is older than what is available. I downloaded newer version of xerces.jar and now the code is compiling. </P>
<P>I've further problem in running the code,</P>
<P>I'm getting errors like:</P>
<P>org.jdom.JDOMException: Error in building from stream: Reflection failed while parsin<BR>g a document with JAXP: javax.xml.transform.Transformer<BR> at org.jdom.input.DOMBuilder.build(DOMBuilder.java:265)<BR> at org.jdom.input.DOMBuilder.build(DOMBuilder.java:287)<BR> at EchoXML.main(EchoXML.java:17)<BR>Caused by: org.jdom.JDOMException: Reflection failed while parsing a document with JA<BR>XP: javax.xml.transform.Transformer<BR> at org.jdom.adapters.JAXPDOMAdapter.getDocument(JAXPDOMAdapter.java:152)<BR> at org.jdom.input.DOMBuilder.build(DOMBuilder.java:222)<BR> at org.jdom.input.DOMBuilder.build(DOMBuilder.java:287)<BR> at EchoXML.main(EchoXML.java:17)<BR>Caused by: java.lang.Class
NotFoundException: javax.xml.transform.Transformer<BR> at java.net.URLClassLoader$1.run(Unknown Source)<BR> at java.security.AccessController.doPrivileged(Native Method)<BR> at java.net.URLClassLoader.findClass(Unknown Source)<BR> at java.lang.ClassLoader.loadClass(Unknown Source)<BR> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)<BR> at java.lang.ClassLoader.loadClass(Unknown Source)<BR> at java.lang.ClassLoader.loadClassInternal(Unknown Source)<BR> at java.lang.Class.forName0(Native Method)<BR> at java.lang.Class.forName(Unknown Source)<BR> at or
g.jdom.adapters.JAXPDOMAdapter.getDocument(JAXPDOMAdapter.java:99)<BR> at org.jdom.input.DOMBuilder.build(DOMBuilder.java:222)<BR> at org.jdom.input.DOMBuilder.build(DOMBuilder.java:287)<BR> at EchoXML.main(EchoXML.java:17)<BR><BR>Help me in that.</P>
<P>Thank You,</P>
<P>Pallavi<BR></P></DIV>
<DIV></DIV>>From: "Bradley S. Huffman" <HIP@CSA.CS.OKSTATE.EDU>
<DIV></DIV>>To: "Pallavi Mahajan" <PALUINDIAN@HOTMAIL.COM>
<DIV></DIV>>CC: jdom-interest@jdom.org
<DIV></DIV>>Subject: Re: [jdom-interest] Help Configuring JDOM
<DIV></DIV>>Date: Sun, 22 Jun 2003 23:27:44 -0500
<DIV></DIV>>
<DIV></DIV>>Since your not finding org.w3c.dom.Element (which is in xerces.jar), it's
<DIV></DIV>>got to be that your classpath is improperly set.
<DIV></DIV>>
<DIV></DIV>>Make sure jdom.jar and xerces.jar are in your classpath (p.s. there is no
<DIV></DIV>>JDOM_HOME setting), or set it on javac's -classpath parameter till you
<DIV></DIV>>get your code to compile. I suspect your classpath is not what you think
<DIV></DIV>>it should be.
<DIV></DIV>>
<DIV></DIV>>Brad
<DIV></DIV>>_______________________________________________
<DIV></DIV>>To control your jdom-interest membership:
<DIV></DIV>>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
<DIV></DIV></div><br clear=all><hr>Protect your PC - <a href="http://g.msn.com/8HMRENUS/2755??PS=">Click here</a> for McAfee.com VirusScan Online </html>