0 Replies Latest reply: Mar 25, 2008 12:16 PM by 843844 RSS

    org.w3c package problems

      I am trying to use some third party packages to help me submit form data to a website using a java application
      i was told about org.jdesktop.http.* and org.jdesktop.html.*
      then it seemed that was dependant on org.apache.commons.httpclient.* or something like that
      then i also seemed to need org.w3c.*
      My problem is with the last package
      it won't even compile

      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 {

      i get those 2 types of errors
      i can easily change the variable name but what is with the other one
      there is no method called getUserData in Node.java

      i would think 3rd party packages are supposed to make life easier for me
      why do i need to go in and fix things
      am i doing something wrong
      are there known problems with this package

      any ideas or help appricated
      has java changed a lot since this was written and is that the problem
      or what the heck