Comparing xsd:strings

Ordering results delegates to "<" where possible but in working through some
comments I found:

  >> simple literal denotes a plain literal with no language tag.
which is not an xsd:string

but it also says in red text:
  >> A simple literal is a Unicode string, which correlates to an xsd:string.

"11.3 Operator Mapping" does not cover "<" applied to xsd:string, only simple
literals, numerics and xsd:dateTime's  This is despite the fact it is defined
in terms of (F&O) using op:numeric-equal(fn:compare(A, B)...)

If the cases for "<", ">", ">=", "<=" are added for xsd:string/xsd:string 
(same defn as the operator on simple literal), then SPARQL covers comparisons 
of xsd:strings (and ORDER BY will autmatically pick it up).

 Andy

Received on Monday, 6 February 2006 15:44:12 UTC