Sam, Agree with these problems and we should correct them. Can you make the edits to the samples? The samples are "live" in that the pages aren't locked down like the true specification.
Thanks, Steve Speicher | IBM Rational Software | (919) 254-0645 > From: Samuel Padgett/Durham/IBM@IBMUS > To: [email protected], > Date: 10/27/2011 12:13 PM > Subject: [oslc-cm] A few mistakes in the OSLC-CM samples > Sent by: [email protected] > > > 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] > > > _______________________________________________ > Oslc-Cm mailing list > [email protected] > http://open-services.net/mailman/listinfo/oslc-cm_open-services.net >
