Hi Michael, You are right. I have imported all source code of Xerces into Eclipse, which is using Sun JDK 1.5.0_15. I can see in eclipse that the error I am getting points to the interface in Sun JDK 1.5.0. But the interface should be retrieved from Apache commons project (which is required by Xerces). I have imported commons project also in eclipse, which has the correct interfaces.
Do you know how I can change settings in eclipse, to point to the correct interface? I remember this is something like endorsed standards override mechanism. But I have to see, how I can do this in eclipse. Or else, I'll spend some time and try to solve the problem myself. On 7/19/08, Michael Glavassevich <[EMAIL PROTECTED]> wrote: > > > Hi Mukul, > > I'm guessing you tried compiling this on a Sun JDK (possibly outside of > Ant). I'm pretty sure some versions (if not all) of Sun JDK 1.4.2 and above > contain a working draft version of DOM Level 2 HTML which made some > incompatible changes to the org.w3c.dom.html packages. The W3C eventually > renamed the packages to org.w3c.dom.html2 to avoid breaking backwards > compatibility. Need to be careful when compiling that these interfaces in > the JDK don't get pulled into the build. > > Thanks. > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [EMAIL PROTECTED] > E-mail: [EMAIL PROTECTED] > > "Mukul Gandhi" <[EMAIL PROTECTED]> wrote on 07/18/2008 04:52:00 AM: > > > > Hi team, > > I have downloaded the latest Xerces-J code from the trunk folder. > > > > But when I build and compile the whole source code, I get the error, > > "must implement the inherited abstract method ..." in these files. > > > > HTMLFrameElementImpl.java > > HTMLIFrameElementImpl.java > > HTMLObjectElementImpl.java > > > > These files are in the package, org.apache.html.dom > > > > Has anybody information about how to resolve this problem? > > > > I checked the xercesImpl.jar file shipped with Xerces-J 2.9.1 and it > > has these compiled files. So definitely I am missing something, and > > would like to get help for this. > > > > > > -- > > Regards, > > Mukul Gandhi > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > Hi team, > > I have downloaded the latest Xerces-J code from the trunk folder. > > > > But when I build and compile the whole source code, I get the error, > > "must implement the inherited abstract method ..." in these files. > > > > HTMLFrameElementImpl.java > > HTMLIFrameElementImpl.java > > HTMLObjectElementImpl.java > > > > These files are in the package, org.apache.html.dom > > > > Has anybody information about how to resolve this problem? > > > > I checked the xercesImpl.jar file shipped with Xerces-J 2.9.1 and it > > has these compiled files. So definitely I am missing something, and > > would like to get help for this. -- Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
