W3C home > Mailing lists > Public > public-rif-wg@w3.org > September 2009

[DTB] fixing mapping in numeric functions

From: Jos de Bruijn <debruijn@inf.unibz.it>
Date: Tue, 29 Sep 2009 18:53:54 +0200
Message-ID: <4AC23BA2.1040703@inf.unibz.it>
To: RIF <public-rif-wg@w3.org>
As defined in [1], the XQuery numeric operators are only defined if both
operands have the same.  However, as pointed out by one of our external
commentors the numeric operators in RIF assumed that these numeric
operators actually do type promotion for us. So, the numeric operators
in RIF were not well defined.
I fixed the problem by including the rules for type promotion in the
definition of the Mapping in [2].

Best, Jos

[1] http://www.w3.org/TR/2007/REC-xpath-functions-20070123/#op.numeric
[2] http://www.w3.org/2005/rules/wiki/DTB#Numeric_Functions
Jos de Bruijn            debruijn@inf.unibz.it
+390471016224         http://www.debruijn.net/

Received on Tuesday, 29 September 2009 16:54:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:47:57 UTC