Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Query a workitem in RTCv4.0, foaf:nick

 Hi,

I'm trying to get foaf:nick in RTC 4.0 via OSLC. In RTC 3.0.1 I'm able to get the desired result but not in RTC 4.0. This is how I set up the name space contexts for the xpath: 

XPathFactory factory = XPathFactory.newInstance();
XPath xpath = factory.newXPath();
xpath.setNamespaceContext(
new NamespaceContextMap(new String[]
{"oslc", "http://open-services.net/ns/core#",
"rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"dcterms", "http://purl.org/dc/terms/",
"foaf", "http://xmlns.com/foaf/0.1/Person",
"rtc_cm", "http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/",
"rtc_ext", "http://jazz.net/xmlns/prod/jazz/rtc/ext/1.0/"}));

Did any syntax change in RTC 4.0 that is preventing me of getting the foaf:nick? Any suggestion of how to get foaf:nick in RTC 4.0 would be very helpful. 

Thank you,

Tomas

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 24

Question asked: Aug 06 '12, 12:06 p.m.

Question was seen: 3,559 times

Last updated: Aug 06 '12, 9:14 p.m.

Confirmation Cancel Confirm