----- Original Message -----
From: "Arnaud Le Hors" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Thursday, April 20, 2000 7:32 PM
Subject: Re: Build questions


> NodeBase is a class part of Crimson and can be found in the experimental
> directory xml-xerces/java/src/whiteboard/org/apache/tree
> It is neither part of Xerces nor the W3C DOM package.

NodeBase is also a class in Sun's JAXP implementation.  The problem is that
com.sun.xml.tree.NodeBase implements org.w3c.dom.Node.  The version it
implements is from DOM 1, so it doesn't implement normalize().  If I use the
org.w3c.dom that Xalan and Xerces depend on, JAXP's classes become abstract.
If I use the org.w3c.dom that JAXP depends on, Xalan and Xerces won't build.

<rant>
The problem could have been avoided by something like this:

package org.w3c.dom2;

public interface Node2 extends org.w3c.dom.Node {
    public void normalize();
}

Even Microsoft has the decency to freeze their interfaces once they are
released.
</rant>

Reply via email to