[oslc-cm] A few mistakes in the OSLC-CM samples

Samuel Padgett spadgett at us.ibm.com
Thu Nov 17 12:51:04 EST 2011


Thanks, Steve. I made the edits.
--
Best Regards,
Samuel Padgett | IBM Rational | spadgett at us.ibm.com


                                                                                                                           
  From:       Steve K Speicher/Raleigh/IBM                                                                                 
                                                                                                                           
  To:         Samuel Padgett/Durham/IBM at IBMUS,                                                                             
                                                                                                                           
  Cc:         oslc-cm at open-services.net                                                                                    
                                                                                                                           
  Date:       11/16/2011 05:49 PM                                                                                          
                                                                                                                           
  Subject:    Re: [oslc-cm] A few mistakes in the OSLC-CM samples                                                          
                                                                                                                           




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 at IBMUS
> To: oslc-cm at open-services.net,
> Date: 10/27/2011 12:13 PM
> Subject: [oslc-cm] A few mistakes in the OSLC-CM samples
> Sent by: oslc-cm-bounces at open-services.net
>
>
> 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 | spadgett at us.ibm.com
>
>
> _______________________________________________
> Oslc-Cm mailing list
> Oslc-Cm at open-services.net
> http://open-services.net/mailman/listinfo/oslc-cm_open-services.net
>







More information about the Oslc-Cm mailing list