[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Use another StAX provider (classloader problem)

As the reference implementation of the StAX XML parser seems to have some problems in my case, I want to use the Woodstox StAX provider.
It works fine in a normal Java project, where I add it to the classpath. I just use XMLInputFactory.newInstance(); and automatically the Woodstox provider is used.
Inside my RCP application it doesn't seem to be that easy.
I wrapped the jar library as an own plugin and added it as a dependency to the plugin, that uses it.
But after a XMLInputFactory.newInstance(); there is still the reference implementation used and not the new provider.
How do I teach my RCP app to use the Woodstox plugin as StAX provider?


Regards,
Kai