<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>(...apologies for spurious transmit of previous
message)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have successfully installed xerces.jar, built
some elementary SAX & DOM classes.Now I would like to use JDOM. In theory it
looks an excellent resolution to a number of problems which confront me.
However, I am having a number of problems with it, principally related to
Java's List Class usage in JDOM modules. The sort of problem which I have occurs
when I integrate JDOM into my application. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have a very simple class which basically mounts
SAXBuilder, calls the build method and then uses XMLOutputter to process the
output. It is largely XMLWriter.java but renamed to avoid conflicts with my own
XMLWriter class (which I will deprecate when I get this JDOM stuff to
work!).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The sort of error which I get is like
this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> C:\JAVA_XML>javac
XMLPrinter.java<BR> XMLPrinter.java:21: cannot access
com.sun.java.util.collections.List<BR> file
com\sun\java\util\collections\List.class not
found<BR>
fmt.output(doc,
System.out);<BR>
^<BR> 1 error</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Similarly if I try and run build on JDOM, I get a
number of errors relating to java.util.List. I use java.util.List fairly
extensively in my other apps and don't seem to have any particular problems. Any
bright ideas anyone? Otherwise I seem condemned to writing SAX and DOM calls
forever....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>kind rgds</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Steve Callaway</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></DIV></BODY></HTML>