Re: JAXP and jamvm
Miguel González Castaños <[email protected]> Thu, 23 Mar 2006 12:57:05 +0100
| Newsgroups | gmane.comp.java.classpath.extensions.discuss |
|---|---|
| Message-ID | <[email protected]> |
> > > So it seems likely that AXIS is overriding the > META-INF/services/java.xml.parsers.SAXParserFactory that ships with > Classpath with one of its own, specifying a parser factory it doesn't > actually ship with. > > As you noted you can override this behaviour by specifying a parser > factory class as a system property. Documentation for the various > factories that ship with Classpath are located in the file > doc/README.jaxp in the Classpath distribution, but to save you a trip, > you basically want > > -Djava.xml.parsers.SAXParserFactory=gnu.xml.stream.SAXParserFactory > Dear Chris, Many thanks for your promptly answer :) I have tried to change the SAXParserFactory but I still get a java.lang.NullPointerException at org.apache.axis.utils.XMLUtils.getSAXParser. You say that I should make a move into the classpath mailing list? So, I do not need to use classpathx to use JAXP? Which version of GNU Classpath supports JAXP? Best Regards, Miguel