OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

search-ws-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [search-ws-comment] XCQL Schema: mandatory sortKeys element


Mr. Ferro - thank you for catching this error  in the XCQL schema. It has now been corrected.  Ray Denenberg

 

From: Nicola Ferro [mailto:ferro@dei.unipd.it]
Sent: Wednesday, November 03, 2010 2:49 PM
To: search-ws-comment@lists.oasis-open.org
Subject: [search-ws-comment] XCQL Schema: mandatory sortKeys element

 

Dear All,

 

I would like to point to your attention a probable inconsistence between the CQL draft specification and the XCQL XSchema.

 

In the XCQL Xschema of June 16, 2010 at

 

 

the sortKeys element is mandatory:

 

<xs:complexType name="xcqlDefinition">

          <xs:sequence>

                      <xs:element ref="prefixes" minOccurs="0"/>

                      <xs:element ref="triple"/>

                      <xs:element ref="sortKeys"/>

          </xs:sequence>

</xs:complexType>

 

On the other hand, in the draft CQL specification of September 20, 2010:

 

 

it is said that:

 

"A CQL query [...] may have a sort specification at the end, following the 'sortBy' keyword" (page 4)

 

as also reported in the ABNF query syntax:

 

cql-query = query [sort-spec] (page 8)

 

 

Best regards,

Nicola Ferro

 

---------------------------------------------------------------------------------

     Nicola Ferro   -   Ph.D. in Computer Science
     Assistant Professor

     Department of Information Engineering (DEI)
     University of Padua
     Via Gradenigo, 6/A  -  35131 Padova - Italy
     Tel +39 049 827 7939  Fax: +39 049 827 7799
     
     skype: nicola.ferro  
     e-mail: ferro@dei.unipd.it
     home page: http://ims.dei.unipd.it/members/ferro/    
----------------------------------------------------------------------------------

 

 

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]