Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Using xpath in an osgi bundle
Using xpath in an osgi bundle [message #95508] Tue, 21 August 2007 10:44 Go to next message
Eclipse UserFriend
Originally posted by: benedikt.arnold.beyondsoft.de

Hi!

I try to use xpath in my osgi bundle. I tried it using
XPathFactory xpathFactory = XPathFactory.newInstance();

but this fails with an NullPointerException.

The jre api doc says: "Since the implementation for the W3C DOM is always
available, this method will never fail."

but for me it fails :-(

Please give me a hint where the problem is.

Thanks a lot!

Greetings,

Benedikt
Re: Using xpath in an osgi bundle [message #95522 is a reply to message #95508] Tue, 21 August 2007 12:01 Go to previous messageGo to next message
Karsten Panier is currently offline Karsten PanierFriend
Messages: 57
Registered: July 2009
Member
Benedikt Arnold schrieb:
> Hi!
>
> I try to use xpath in my osgi bundle. I tried it using
> XPathFactory xpathFactory = XPathFactory.newInstance();
>
> but this fails with an NullPointerException.
>
> The jre api doc says: "Since the implementation for the W3C DOM is always
> available, this method will never fail."
>
> but for me it fails :-(
>
> Please give me a hint where the problem is.
>
> Thanks a lot!
>
> Greetings,
>
> Benedikt
>
>
hi,
in my bundle xpath work's. My bundle depends on org.apache.xerces, maybe
thats the difference.
regards
karsten
Re: Using xpath in an osgi bundle [message #95535 is a reply to message #95522] Tue, 21 August 2007 14:01 Go to previous message
Eclipse UserFriend
Originally posted by: benedikt.arnold.beyondsoft.de

Hi!
> hi,
> in my bundle xpath work's. My bundle depends on org.apache.xerces, maybe
> thats the difference.
> regards
> karsten

I tried this, but it doesn't work. My bundle now requires this bundle but I
also got the NullPointerException.
I got the org.apache.xerces bundle from the eclipse cvs server.
Previous Topic:RESTful services
Next Topic:LinkageError when calling a method
Goto Forum:
  


Current Time: Tue Apr 23 17:02:50 GMT 2024

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

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

Back to the top