This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Both queries expect that a double value of "5" gets serialized as 5E0, but the correct serialization for values less than 1E6 is "5". Either change the query to use "instance of xs:double" or change the values to be bigger than 1E6.
Alberto: Correct. I changed the queries to: fn:max((xs:integer(5000000000),xs:double(3e0))) fn:min((xs:integer(5),xs:double(3e8))) Please close the bug if in agreement. Thanks, Carmelo
fn-min-2 is still wrong; it expects 5E0 while the result (a double of value 5) must be serialized as 5. A correct query would be fn:min((xs:integer(5000000),xs:double(3e8))) that return 5E6
Alberto: Correct. This was a bit of an oversight. Changed query. This change is public and you can confirm. Close the bug if in agreement. Thanks, Carmelo
Carmelo, also the expected result should be changed from 5E0 to 5E6
Alberto: Correct. Will this one ever go away? Value changed. Carmelo
Carmelo, I made a mistake in suggesting 5E6 as the right value; the correct serialization format for a double is 5.0E6 Can you update the result? Thanks, Alberto
Alberto: Not a problem. I should had catch that though. taken care of it already. Carmelo