W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2015

[Bug 28959] New: [XP3.1] Special rule in function conversion for xs:numeric

From: <bugzilla@jessica.w3.org>
Date: Thu, 16 Jul 2015 14:09:25 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28959-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 28959
           Summary: [XP3.1] Special rule in function conversion for
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XPath 3.1
          Assignee: jonathan.robie@gmail.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

The function conversion rules say:

For built-in functions where the expected type is specified as numeric,
arguments of type xs:untypedAtomic are cast to xs:double. 

I believe this rule is now unnecessary. There is no need to treat built-in
function using xs:numeric differently from user-defined functions. xs:numeric
is a standard union type and the conversion from xs:untypedAtomic falls out of
the general rules for functions having a union type as the declared type of an

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 16 July 2015 14:09:27 UTC

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