Comment 6 for bug 1123164

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote : Re: FOTS: fn:format-number failures (at least 20 failures)

Hi Paul,
first of all please read the thread "new FOTS bugs opened" on @zorba-dev.

Now, about your questions:
1) sry. but I uploaded the wrong report: that is fixed now
2) wrt. test "numberformat14"

Please check out the 'info' node in the detailed report:

<fots:info>
 <fots:query>[...]</fots:query>
 <fots:expected-result>
    <assert-string-value>off-the-scale</assert-string-value>
 </fots:expected-result>
 <fots:result>Infinity</fots:result>
 <fots:errors>'assert-string-value' returned: result different from expected result.</fots:errors>
</fots:info>

The 'expected-result' is an 'assert-string-value' with value 'off-the-scale'.
The actual result in inside 'result' node, meaning string 'Infinity' in this case.
The 'errors' node describes the errors returned when the assertions were run, in this case 'assert-string-value'.

Now, as you can see, the test case declares a decimal format (please see http://www.w3.org/TR/xquery-30/#id-decimal-format-decl).
In this case, this means that instead 'Infinity' one should return 'off-the-scale'.

Please send me an email if you have any more questions/remarks.

HTH.