fn:format-number()#2 possible bug
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}' Am i missing something or is this a bug in the 2 argument form of fn:format-number? Thanks, Alex
Hi Alex, thanks for the observation. I’ve fixed the bug [1]; a new snapshot will be available tonight or tomorrow. Best, Christian [1] https://github.com/BaseXdb/basex/commit/ef2b19dab6308aeaee130d4fdc7935027dec... ___________________________ 2013/9/18 alxarch <alxarch@gmail.com>:
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}'
Am i missing something or is this a bug in the 2 argument form of fn:format-number?
Thanks, Alex
_______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
participants (2)
-
alxarch -
Christian Grün