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

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