Michael Glavassevich wrote:
Hi Bob,

It looks like the compiler is picking up some old APIs from somewhere.

Thanks. That's exactly it. The old APIs are in jre 1.4.2_01 rt.jar. Apparently the jre has not been updated to reflect the org.w3c.dom.html2 package change.


Changing the build classpath so a newer version of the xmlapis comes first solves the build problem.

Bob

During the development of DOM Level 2 HTML [1] it was determined that
some changes were incompatible with DOM Level 1 [2] so instead of
modifying the existing API, the DOM Level 2 interfaces were placed in a
new package (org.w3c.dom.html2).

[1]
http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/java-binding.html
[2]
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/java-language-binding.html

On Sat, 10 Jan 2004, Bob Foster wrote:


I downloaded XercesJ 2.6.0 source, stuffed it in an Eclipse project and
built it with jre 1.4.2_01. Three files have errors:
HTMLFrameElementImpl.java, HTMLIFrameElementImpl.java and
HTMLObjectElementImpl.java.

The same problem in all: "Class must implement the inherited abstract
method: <interfacename>.getContentDocument()."

The declaration in HTMLFrameElement is typical:

    /**
     *  The document this frame contains, if there is any and it is
available,
     * or <code>null</code> otherwise.
     * @since DOM Level 2
     */
    public Document getContentDocument();

What's the deal?

Thanks.

Bob Foster
http://xmlbuddy.com/


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to