<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<P>Hi,</P>
<P> </P>
<P>I am trying to compile the Count.java from the JDOM samples directory</P>
<P>Since getMixedContent has been deprecated by getContent, I have only made
that one</P>
<P>substitution.</P>
<P> </P>
<P> </P>
<P>C:\b>javac -deprecation -classpath .;c:\jdk1.4\bin;c:\b
Count.java<BR>Count.java:125: cannot access
com.sun.java.util.collections.List<BR>file
com\sun\java\util\collections\List.class not found<BR>List children =
doc.getContent();<BR>
^<BR>Count.java:146: incompatible types<BR>found :
com.sun.java.util.collections.List<BR>required:
java.util.List<BR> List attributes =
element.getAttributes();<BR>
^<BR>Count.java:150: incompatible types<BR>found :
com.sun.java.util.collections.List<BR>required: java.util.List<BR> List
children =
element.getContent();<BR>
^<BR>3 errors</P>
<P>-Brian Wolf</P></FONT></DIV></BODY></HTML>