- From: <bugzilla@jessica.w3.org>
- Date: Thu, 16 Jul 2015 14:09:25 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28959 Bug ID: 28959 Summary: [XP3.1] Special rule in function conversion for xs:numeric 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 argument. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 16 July 2015 14:09:27 UTC