Oslc XML Query only returning first named child attribute !
![]()
Hi
I submit a query including nested select attributes e.g oslc.select=dcterms:identifier, dcterms:title,oslc_cm:status, But do Now, if I specify the Accept header of The third option I've been running at high speed into a brick wall is using xlst to transform the rdf+xml output into a nested format - but no luck as yet. So, if anyone can offer any insight into (in order of preference) 1/ Ensuring that accept=application/xml returns a fully populated tree inc nested property values. 2/ An xlst transform to transform the application/rdf+xml format to a fully populated tree with nested property values. Many Many thanks in advance for any help oslc.select=dcterms%3Aidentifier%2Cdcterms%3Atitle%2Coslc_cm%3Astatus%2Cdcterms%3Acontributor%7Bfoaf%3Aname%7D%2Coslc_cmx%3Apriority%7Bdcterms%3Atitle%7D%2Crtc_ext%3AraisedById&amp;oslc.where=rtc_ext%3AraisedById%3D%2204446496%22" <xml> {"oslc:responseInfo":{"oslc:totalCount":3,"rdf:type":[{"rdf:resource":"http:\/\/open-services.net\/ns\/core#ResponseInfo"}]},"rdf:about":"https:\/\/localhost:9443\/jazz\/oslc\/contexts\/_gDfUIJ5FEeGAntnpUd9e9w\/workitems","prefixes":{"foaf":"http:\/\/xmlns.com\/foaf\/0.1\/","oslc_cmx":"http:\/\/open-services.net\/ns\/cm-x#","oslc_cm":"http:\/\/open-services.net\/ns\/cm#","oslc":"http:\/\/open-services.net\/ns\/core#","rdf":"http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#","rtc_ext":"http:\/\/jazz.net\/xmlns\/prod\/jazz\/rtc\/ext\/1.0\/","dcterms":"http:\/\/purl.org\/dc\/terms\/"},"oslc:results":[{"oslc_cm:status":"New","rdf:type":[{"rdf:resource":"http:\/\/open-services.net\/ns\/cm#ChangeRequest"}],"rtc_ext:raisedById":"04446496","dcterms:title":"Some problems ...","dcterms:contributor":{"rdf:type":[{"rdf:resource":"http:\/\/xmlns.com\/foaf\/0.1\/Person"}],"foaf:name":"TestJazzGuest2","rdf:about":"https:\/\/localhost:9443\/jazz\/oslc\/users\/_zQADspleEd-joaYjvz6g2w"},"rdf:about":"https:\/\/localhost:9443\/jazz\/resource\/itemName\/com.ibm.team.workitem.WorkItem\/233","dcterms:identifier":233,"oslc_cmx:priority":{"rdf:type":[{"rdf:resource":"http:\/\/jazz.net\/xmlns\/prod\/jazz\/rtc\/cm\/1.0\/Literal"}],"dcterms:title":"Medium","rdf:about":"https:\/\/localhost:9443\/jazz\/oslc\/enumerations\/_gDfUIJ5FEeGAntnpUd9e9w\/priority\/priority.literal.l07"}},{"oslc_cm:status":"New","rdf:type":[{"rdf:resource":"http:\/\/open-services.net\/ns\/cm#ChangeRequest"}],"rtc_ext:raisedById":"04446496","dcterms:title":"Test","dcterms:contributor":{"rdf:type":[{"rdf:resource":"http:\/\/xmlns.com\/foaf\/0.1\/Person"}],"foaf:name":"TestJazzGuest1","rdf:about":"https:\/\/localhost:9443\/jazz\/oslc\/users\/_zQADsZleEd-joaYjvz6g2w"},"rdf:about":"https:\/\/localhost:9443\/jazz\/resource\/itemName\/com.ibm.team.workitem.WorkItem\/236","dcterms:identifier":236,"oslc_cmx:priority":{"rdf:type":[{"rdf:resource":"http:\/\/jazz.net\/xmlns\/prod\/jazz\/rtc\/cm\/1.0\/Literal"}],"dcterms:title":"Medium","rdf:about":"https:\/\/localhost:9443\/jazz\/oslc\/enumerations\/_gDfUIJ5FEeGAntnpUd9e9w\/priority\/priority.literal.l07"}},{"oslc_cm:status":"New","rdf:type":[{"rdf:resource":"http:\/\/open-services.net\/ns\/cm#ChangeRequest"}],"rtc_ext:raisedById":"04446496","dcterms:title":"Test Summary One","dcterms:contributor":{"rdf:type":[{"rdf:resource":"http:\/\/xmlns.com\/foaf\/0.1\/Person"}],"foaf:name":"TestJazzGuest1","rdf:about":"https:\/\/localhost:9443\/jazz\/oslc\/users\/_zQADsZleEd-joaYjvz6g2w"},"rdf:about":"https:\/\/localhost:9443\/jazz\/resource\/itemName\/com.ibm.team.workitem.WorkItem\/237","dcterms:identifier":237,"oslc_cmx:priority":{"rdf:type":[{"rdf:resource":"http:\/\/jazz.net\/xmlns\/prod\/jazz\/rtc\/cm\/1.0\/Literal"}],"dcterms:title":"Medium","rdf:about":"https:\/\/localhost:9443\/jazz\/oslc\/enumerations\/_gDfUIJ5FEeGAntnpUd9e9w\/priority\/priority.literal.l07"}}]} |
Be the first one to answer this question!
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.