W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2008

[Bug 5692] K2-NumericMod-5,7,8 may raise FOAR0002

From: <bugzilla@farnsworth.w3.org>
Date: Fri, 16 May 2008 09:39:08 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JwwP6-0004zS-CS@farnsworth.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5692

           Summary: K2-NumericMod-5,7,8 may raise FOAR0002
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: vano_msu@mail.ru
         QAContact: public-qt-comments@w3.org


Since expression 

-9223372036854775808

is parsed as UnaryMinus (IntegerLiteral (9223372036854775808))

I think implementaion can consider it as equivalent of

-xs:integer(9223372036854775808) and can raise FOAR0002 on overflow.
Received on Friday, 16 May 2008 09:52:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:23 UTC