Re: changes in XQuery and SPARQL's use of XQuery

On Wed, Nov 23, 2005 at 04:58:21 +0000, Andy Seaborne wrote:
> >>Actually, + isn't the best example: FILTER(?x < 3) is a better example 
> >>where an expectation might be force ?x to integer (c.f. RDQL!)
> >
> >
> >Right, which is what I do in my non-standards compliant mode.
> 
> So what about something like "1" = 1 ? In non-standards mode, does 3Store 
> return true/false/error for this case?

true.
 
> My example of "01" = 1 is more complictaed than this - even when used with 
> canonical forms, I'm not clear what to do in the canonical case.
> 
> Does this apply when one side is an explicit constant (so the query knows 
> the type) and generates a query that is the same as something like:
> 
> ?x = 1  ==>  xsd:double(?x) = 1

Yep, thats exactly what it does, well xsd:integer in this case actually.

- Steve 

Received on Wednesday, 23 November 2005 18:10:52 UTC