----- Original Message ----- From: Edwin Goei <[EMAIL PROTECTED]> To: <[email protected]> Cc: <[EMAIL PROTECTED]> Sent: Friday, April 21, 2000 11:26 AM Subject: Re: Build questions
> 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. What I'm trying to do: I want to use JAXP for my parser interface. I don't care which implementation. I need a standard interface to this stuff. I want to use Xalan for XSLT processing. The Documents that come from JAXP are fed into Xalan's stuff. A standard interface would be great, but I can't find one. > 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. Yes. > > 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/*. Where do I see that? The source I downloaded for xerces 1.0.3 doesn't have any JAXP stuf in it. > Alternatively, if you want to use > JAXP RI based parser code, you can build the crimson code which does > implement DOM level 2 methods. And what is the "crimson code"?
