[oslc-core] Core Specification Version 2.0 Query Syntax: oslc.select/oslc.properties BNF
Steven B Pitschke
pitschke at us.ibm.com
Fri Jun 29 13:25:48 EDT 2012
The core query specification
http://open-services.net/bin/view/Main/OSLCCoreSpecQuery
gives a BNFfor select and properties of
oslc_select :== "oslc.select=" properties
properties :== property ( "," property )*
property :== identifier | wildcard | nest_prop
nested_prop := ( identifier | wildcard) "{" properties
"}"
which would allow the redundant "dcterms:name, *". I would think the BNF
would more properly be
oslc_select ::= "oslc.select=" property_list
property_list ::= wildcard | properties
properties ::= property ("," property)*
property ::= identifier | nested_prop
nested_prop ::= (identifier | wildcard) "{" property_list "}"
or
oslc_select ::= "oslc.select=" property_list
property_list ::= wildcard | properties
properties ::= property ("," property)*
property ::= identifier | nested_prop
nested_prop ::= identifier "{" property_list "}"
the difference between the two being whether or not
"*{dcterms:comment,cm:comment}"
makes sense.
Regards,
Steve Pitschke
Senior Software Engineer and Architect
Rational Software, IBM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20120629/e83c0544/attachment-0003.html>
More information about the Oslc-Core
mailing list