← Prev in month ← Prev in thread
Next in thread → Next in month →

XCQL Schema: mandatory sortKeys element

From
Nicola Ferro <>
Date
2010-11-03T18:49:31+00:00
ID
Thread
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

http://www.loc.gov/standards/sru/oasis/schemas/xcql.xsd

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:

http://www.loc.gov/standards/sru/oasis/current/cql.doc

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: 
     home page: http://ims.dei.unipd.it/members/ferro/    
----------------------------------------------------------------------------------
← Prev in month ← Prev in thread
Next in thread → Next in month →