This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
F&O has detailed rules (section 6.2 numeric operators) for how to handle numeric overflows, underflows, and insufficient digits of precision in an implementation for numeric operators, but the language document does not have the parallel set of rules for numeric literals.
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