I noticed a few problems in the OSLC-CM samples [1].
* In "Request with no parameters as JSON" [2], dcterms:creator and dcterms:contributor should be JSON arrays, not JSON objects, since they occur Zero-or-many. * In "Query results as application/rdf+xml or application/xml" [3], there shouldn't be quotation marks around the boolean literal "true." If you look at the grammar for oslc.where [4], boolean literal values shouldn't be quoted (if I'm reading it right). This appears in other places in the samples, too. * In "Query results as application/json"[5], the oslc:responseInfo resource doesn't have an rdf:type. Also the rdf:about has '"' XML entities, but this is a JSON response. (The quotations shouldn't be there anyway.) [1] http://open-services.net/bin/view/Main/CmSpecificationV2Samples [2] http://open-services.net/bin/view/Main/CmSpecificationV2Samples?sortcol=table;up=#Request_with_no_parameters_as_JS [3] http://open-services.net/bin/view/Main/CmSpecificationV2Samples?sortcol=table;table=up#Query_results_as_application_rdf [4] http://open-services.net/bin/view/Main/OSLCCoreSpecQuery?sortcol=table;up=#oslc_where [5] http://open-services.net/bin/view/Main/CmSpecificationV2Samples?sortcol=table;table=up;up=#Query_results_as_application_jso -- Best Regards, Samuel Padgett | IBM Rational | [email protected]
