classpathx-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-discuss] JAXP and jamvm


From: Miguel González Castaños
Subject: Re: [Classpathx-discuss] JAXP and jamvm
Date: Thu, 23 Mar 2006 12:57:05 +0100
User-agent: Thunderbird 1.5 (Windows/20051201)




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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]