Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » Plugin: Problem with org.apache.xerces
Plugin: Problem with org.apache.xerces [message #589278] Thu, 23 January 2003 11:54
Olga is currently offline OlgaFriend
Messages: 11
Registered: July 2009
Junior Member
Hallo All!

I'm developing an Eclipse Plugin and have a problem with
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.
By doing

org.apache.xerces.jaxp.DocumentBuilderFactoryImpl dbf = new
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl();

I get org.apache.crimson.jaxp.DocumentBuilderFactoryImpl, but I need to get
the org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.

If I do so:
System.setProperty("javax.xml.parsers.DocumentBuilderFactory ",
"org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
DocumentBuilderFactory dbf = DocumentBuilderFactoryImpl.newInstance();

I get an Error "Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
not found".

And if I try to do so:

System.setProperty("javax.xml.parsers.DocumentBuilderFactory ",
"org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl dbf = new
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl();

it works, but only the first time, the second time I start it I get an error
"Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found".

When it helps, plugin.xml that I have:
....
<runtime>
<library name="externalJars/xerces.jar"/>
...
</runtime>

How can I fix it? Any help is welcome.

Thanks,
Olga
Previous Topic:KeyEvent - Character and CTRL
Next Topic:Plugin: Problem with org.apache.xerces
Goto Forum:
  


Current Time: Thu Apr 18 13:07:40 GMT 2024

Powered by FUDForum. Page generated in 0.02893 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top