There seems to be an unexpected behaviour whem using fn:format-number() while having declared a default element namespace in the prologue.
Example:
> format-number(1234, "0000")
Am i missing something or is this a bug in the 2 argument form of fn:format-number?
Thanks,
Alex