W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2008

Re: org.w3c package won't compile

From: Arnaud Desitter <arnaud02@users.sourceforge.net>
Date: Thu, 27 Mar 2008 15:47:10 +0000
Message-ID: <a240ddd00803270847n2d97ef70x34c7a0d5e4225b72@mail.gmail.com>
To: "Corey Lundon" <coreylundon@yahoo.com>
Cc: html-tidy@w3.org

This is about the java version of tidy. Please use the correct mailing list.
Regards,

On 25/03/2008, Corey Lundon <coreylundon@yahoo.com> wrote:
>
> 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 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> </DIV>  <DIV>I get these 2 types of errors:</DIV>  <DIV> </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> </DIV>  <DIV>Please help ... what is the problem,</DIV><p>
>      <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 Thursday, 27 March 2008 19:34:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:58 GMT