- From: Lee Feigenbaum <lee@thefigtrees.net>
- Date: Tue, 01 Nov 2011 09:26:28 -0400
- To: Gregory Williams <greg@evilfunhouse.com>
- CC: SPARQL Working Group <public-rdf-dawg@w3.org>
Agreed. On 10/16/2011 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 think this was brought up during a related conversation a few weeks ago, but I couldn't track down a link.) > > I believe the first two changes are necessary as the current values seem to contradict the xsd numeric-divide definition. The third change is subjective, but I don't see any reason to prefer the lexical form that ends in a decimal point over the canonical form that requires a digit after the decimal point. > > .greg > > >
Received on Tuesday, 1 November 2011 14:29:41 UTC