Comment 10 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)

The query in question is:

xquery version "3.0";
declare default decimal-format infinity="off-the-scale" ;
format-number(1 div 0e0,'###############################')

right?

The meaning of the second line:
declare default decimal-format infinity="off-the-scale" ;
according to the specs cited above is to replace the default value ("Infinity") used for the infinity-symbol with the string "off-the-scale".

What am I missing: are the cited specs optional ?

What do you mean by "I can not find anywhere in any XQuery specification where it says the result should be the literal string "off-the-scale""
I just pointed out the spec twice...