Eric Hodges wrote: > > > 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.
It is not part of the xerces 1.0.3 jar file, you need to get a Xerces CVS tree and build it yourself to get a jar file with the JAXP classes in them. > > 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"? The JAXP RI which is based on Sun's parser was donated to Apache under the name "Crimson". You can find it at /xml-contrib/crimson/*. See my other posting on this subject.
