There seems to be an unexpected behaviour whem using fn:format-number() while having declared a default element namespace in the prologue.
Example:
declare default element namespace "http://foo.bar"; format-number(1234, "0000")
Throws an [FODF1280] 'Unknown decimal format: Q{http://foo.bar%7D'
Am i missing something or is this a bug in the 2 argument form of fn:format-number?
Thanks, Alex