Bugzilla – Bug 20556
[QT3TS] app-Demos test currencysvg
Last modified: 2013-01-11 17:55:36 UTC
This test expects results which are dependent on the precision of the results of decimal arithmetic, which is implementation-dependent. I have changed the test to use round-half-to-even() to remove this dependency. Please check that this change is OK.
It seems to have broken for me. I'll investigate further.
I am ok with this change, but will hear from more implementers.
We have had an issue with several tests when it comes to decimal precision across implementations, which we need to look at individually.
I have made a similar change to the test-case "itunes", rounding all decimal values to four decimal places to remove implementation dependencies.
currencysvg.xq required a few more calls to round-half-to-even.
itunes3.xq required a stable order by.
Please mark as CLOSED if you agree with the resolution. Otherwise, REOPEN.
Thanks, these tests are now working with Saxon so I assume they are now interoperable.