It's all about the answers!

Ask a question

Multiple oslc.where statement in the query

Bartosz Chrabski (3.4k12749) | asked May 26 '13, 1:22 p.m.
 Hi Team

In my query I am trying to use multiple oslc.query statement, example :


Accept: application/rdf+xml
OSLC-Core-Version: 2.0,dcterms:contributor=%22

result : 

<rdf:RDF xmlns:rdf="" xmlns:oslc="" > <rdf:Description rdf:nodeID="A0"> <oslc:message>Wczesne zakończenie</oslc:message> <---- "Early finish" <oslc:statusCode>400</oslc:statusCode> <rdf:type rdf:resource=""/> </rdf:Description> </rdf:RDF>

I would be thankful for any help or additional comment. I already went through the documentation and I am not able to find any example with multiple oslc.where.

Accepted answer

permanent link
Stephane Leroy (1.4k149) | answered May 27 '13, 4:59 a.m.
edited May 27 '13, 5:01 a.m.
Hi Bartosz,

your query includes a comma whereas is should use a '&' instead:
It should work with:


Bartosz Chrabski selected this answer as the correct answer

Bartosz Chrabski commented May 27 '13, 10:22 a.m.

Hi Stephene,

I solved the problem by adding 'and' between conditions and encoding everyhing by UTF-8. Problem solved :). Thanks a lot

Your answer

Register or 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.