[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 #7 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
>From last weeks telcon, I was tasked with the request to either close this
issue or to make a proposal.

I would like the WG to consider a non-mandatory Note along the following lines,
probably best placed under description of Literal.

Note:
[XSD] poses a minimal requirement to support 18 decimal digits, which is too
limited to express certain literals in limited range types such as xs:long.
Implementations that impose such limits are encouraged to support integer
literals up to +/- 18446744073709551616 (2^64) to allow parsing of expressions
such as xs:long(123456789012345678). If parsing such literals is not possible
due to said restrictions, processors MUST raise error FORG002 (or error ...),
as explained in [link].

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

Received on Tuesday, 8 March 2016 15:49:05 UTC