[Bug 4231] K2-Literals-7

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4231


tim@cbcl.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #6 from tim@cbcl.co.uk  2007-01-22 09:33 -------
Although this test is now correct, I believe the expected result should be 0
and no 0.0.

Although F+O spec does say:

"For xs:decimal operations, overflow behavior ·must· raise an error
[err:FOAR0002]. On underflow, 0.0 must be returned."

when serialized, because 0.0 is in the value space of xs:integer, it will be
converted from a decimal to an integer (F+0 17.1.2 Casting to xs:string and
xs:untypedAtomic).

Received on Monday, 22 January 2007 09:33:17 UTC