W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2005

[Bug 1489] Missing overflow/underflow/truncation rules for literals

From: <bugzilla@wiggum.w3.org>
Date: Thu, 21 Jul 2005 22:54:38 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1Dvjw6-0005lc-Ra@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1489


chamberl@almaden.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From chamberl@almaden.ibm.com  2005-07-21 22:54 -------
Mary,
The Query and XSLT working groups discussed this comment at a joint meeting on 
July 21, 2005, and resolved it as follows:

(1) In XQuery Section 3.1.1, Literals, change "Values of numeric literals are 
interpreted according to the rules in XML Schema" to "The value of the numeric 
literal is determined by casting it to the appropriate type according to the 
rules for casting from xdt:untypedAtomic to a numeric type (see [F&O Section 
17.1.1])."

(2) Add to F&O Section 17.1.1, "If the resulting value is too large or small to 
be accurately represented by the implementation, it is handled as a numeric 
overflow or underflow as defined in F&O Section 6.2."

Since you participated in this discussion, I will consider this comment to be 
closed.

Regards,
Don Chamberlin
Received on Thursday, 21 July 2005 22:54:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:25 UTC