org.w3c package won't compile

Corey Lundon <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
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 {

Pleas
e help ... what is the problem,

----------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.