Eric Hodges wrote:
> 
> ----- 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.

I'm not quite sure what you're trying to do.  My guess is that you want
to use the parser independent JAXP interfaces to create a DOM tree and
that you are trying to use the JAXP FCS reference implementation (RI)
with Xalan and Xalan has a dependency on the DOM2 interfaces while the
JAXP RI depends on DOM1 interfaces.

If this is correct, then why not use the JAXP interfaces for Xerces?  I
am told that you need to build Xerces to get these.  See
/xml-xerces/java/src/javax/xml/*.  Alternatively, if you want to use
JAXP RI based parser code, you can build the crimson code which does
implement DOM level 2 methods.

Reply via email to