org.w3c package won't compile

Hi, I have a problem and I hope you can help me.
  I am trying to use the package org.w3c.dom and tidy
  but it will not compile.
   
  I get these 2 types of errors:
   
  org\w3c\tidy\Configuration.java(org\w3c\tidy:Configuration.java):129: as of release 5, 'enum' is a keyword, and may not be used as an identifier
(use -source 1.4 or lower to use 'enum' as an identifier)
String key = (String) enum.nextElement();
^
org\w3c\tidy\DOMNodeImpl.java(org\w3c\tidy:DOMNodeImpl.java):31: org.w3c.tidy.DOMNodeImpl is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
public class DOMNodeImpl implements org.w3c.dom.Node {
   
  Please help ... what is the problem,

       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
--0-572212266-1206466762=:66563
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>Hi, I have a problem and&nbsp;I hope you can help me.</DIV>  <DIV>I am trying to use the package org.w3c.dom and tidy</DIV>  <DIV>but it will not compile.</DIV>  <DIV>&nbsp;</DIV>  <DIV>I get these 2 types of errors:</DIV>  <DIV>&nbsp;</DIV>  <DIV>org\w3c\tidy\Configuration.java(org\w3c\tidy:Configuration.java):129: as of release 5, 'enum' is a keyword, and may not be used as an identifier<BR>(use -source 1.4 or lower to use 'enum' as an identifier)<BR>String key = (String) enum.nextElement();<BR>^<BR>org\w3c\tidy\DOMNodeImpl.java(org\w3c\tidy:DOMNodeImpl.java):31: org.w3c.tidy.DOMNodeImpl is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node<BR>public class DOMNodeImpl implements org.w3c.dom.Node {</DIV>  <DIV>&nbsp;</DIV>  <DIV>Please help ... what is the problem,</DIV><p>&#32;
      <hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> 
Find them fast with Yahoo! Search.</a>
--0-572212266-1206466762=:66563--

Received on Tuesday, 25 March 2008 21:38:40 UTC