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

Re: datatype issues in testsuite

From: Gregory Williams <greg@evilfunhouse.com>
Date: Mon, 31 Oct 2011 11:04:19 -0400
Message-Id: <9FA68270-196C-44A1-976D-7698DA61C516@evilfunhouse.com>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
On Oct 16, 2011, at 4:15 PM, Gregory Williams wrote:

> There are a few things in the test suite that I think need fixes:
> 
> 1) In functions/coalesce01.srx, ?div=0 and ?div=2 should be ?div=0.0 and ?div=2.0 (integer->decimal) because of xsd numeric-divide rules.
> 
> 2) In aggregates/agg-avg-02.srx, ?avg=2 should be ?avg=2.0 (integer->decimal) because of xsd numeric-divide rules.
> 
> 3) In aggregates/agg-err-02.srx, ?avg="2."^^decimal should be ?avg="2.0"^^decimal (srx should use canonical lexical form)

I've committed these changes in CVS, and taken ownership of JB-8 as these changes address Jeen's comment.

.greg
Received on Monday, 31 October 2011 15:05:16 GMT

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