[Bug 29419] [XP31] edge case with negative integer literals (UnaryExpr) and limits for -9223372036854775808, which cannot be parsed

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29419

--- Comment #17 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
(In reply to Jonathan Robie from comment #16)
> (which must not be less than 18 digits) 
Please note (for XPath, not XQuery) that we also discussed *removing* this
minimum limit as XSD 1.0 forces minimum of 18 digits and XSD 1.1 forces minimum
of 16 digits.

Alternatively, we can reword something like as follows in the Note:

    (which must not be less than 18 digits for XPath processors supporting 
    [XSD 1.0] and 16 digits when supporting [XSD 1.1])

Note also, that the rewording of MSMcQ was on the second paragraph only. The
first paragraph (without mandatory SHOULD etc) should be kept as is, from
comment #8:

    "The effect of the above rule is that in the case of an integer or decimal
    literal, a dynamic error FOAR0002 will generally be raised if the literal
is 
    outside the range of values supported by the implementation (other options 
    are available: see [F+O section 4.2] for details.)"

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 15 June 2016 15:45:56 UTC