[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

Jonathan Robie <jonathan.robie@gmail.com> changed:

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

--- Comment #13 from Jonathan Robie <jonathan.robie@gmail.com> ---
I have now made changes to the text, and hope that they fix the problem, but
they are a little different from what was originally proposed, so I am
reopening so that we will discuss it.

I was told to implement comment #8 and comment #11, which contradict each other
somewhat.  I also noticed that this kind of limit is specified in the
Conformance section of XQuery, not under literals.  So I added one sentence to
the existing statement in Conformance:


<quote>
For the xs:decimal type, the maximum number of decimal digits (totalDigits
facet) (MUST be at least 18). <add>This limit SHOULD be at least 20 digits in
order to accommodate the full range of values of built-in subtypes of
xs:integer, such as xs:long and xs:unsignedLong.</add>
</quote>

I think that fixes the problem.  Am I missing anything?

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

Received on Monday, 13 June 2016 19:07:43 UTC