W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2011

Re: query test case coverage (ACTION-494)

From: Gregory Williams <greg@evilfunhouse.com>
Date: Tue, 16 Aug 2011 11:24:46 -0400
Message-Id: <C97DDBEE-5206-45FA-A879-457BD4BB28F8@evilfunhouse.com>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
On Aug 16, 2011, at 8:25 AM, Andy Seaborne wrote:

> On 15/08/11 21:51, Gregory Williams wrote:
>> I've just gone through the tests for query functions (and function-like operators) and am happy with the current state of things. I added tests for IF, COALESCE, and the hash functions over unicode (testing that the functions work over utf8 encoding). I'd be happy for others to take a look at the new tests (all in the functions/ directory):
>> 
>> :if01
> 
> I don't get a pass for this one:
> 
> SELECT ?o (IF(DATATYPE(?o) = xsd:integer, true, false) AS ?integer)
> 
> Currently, DATATYPE("english"@en) is error, so IF will be error and ?integer unbound.

Thanks for catching this Andy. I've fixed this issue in if01.srx in CVS.

.greg
Received on Tuesday, 16 August 2011 15:25:40 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:46 GMT