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

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