[Bug 29401] [QT3] numeric-unary return type

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29401

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #4 from Michael Kay <mike@saxonica.com> ---
Abel, the point is that if $X is a decimal, then we require that -$X and +$X
return a decimal, but this does not preclude them returning an integer, because
an integer is a decimal and therefore satisfies the requirement. But the test
is written to fail if the returned value is an integer.

I have committed a change to the test to use xs:decimal(2.5) rather than
xs:decimal(2) so that the question does not arise. Leaving the bug open in case
others disagree.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 31 January 2016 16:52:34 UTC