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

[Bug 5601] [FS] Error in C.2 Mapping of Overloaded Internal Functions

From: <bugzilla@farnsworth.w3.org>
Date: Tue, 01 Apr 2008 16:13:52 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1Jgj7Q-0004Xt-RS@farnsworth.w3.org>

           Summary: [FS] Error in C.2 Mapping of Overloaded Internal
                    Functions
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Formal Semantics
        AssignedTo: jmdyck@ibiblio.org
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


In F&O, op:numeric-divide says:

"As a special case, if the types of both $arg1 and $arg2 are xs:integer, then
the return type is xs:decimal."

But in FS C.2 Mapping of Overloaded Internal Functions, the table says that it
returns xs:double.

fs:div(A, B)    xs:integer      xs:integer      op:numeric-divide(A, B)        
xs:double
Received on Friday, 4 April 2008 09:59:07 UTC

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