Hi Neven,
The format-integer bug has been fixed. A new snapshot is available. It will also be fixed in 8.0.3 (to be released this week).
Best, Christian
On Sat, Mar 14, 2015 at 1:25 AM, Christian Grün christian.gruen@gmail.com wrote:
Hi Neven,
Thanks for the observation; it's a bug, now being tracked here [1].
Christian
[1] https://github.com/BaseXdb/basex/issues/1098
On Sat, Mar 14, 2015 at 12:01 AM, Neven Jovanović filologanoga@gmail.com wrote:
Hello,
when BaseX 8.0 performs the following XQuery expression:
format-integer(556, '#,##1')
I expect to see just: 556 -- but I get the following: ,556
Am I misreading something in the format-integer() chapter of XPath and XQuery Functions and Operators 3.0[1], or is this a bug?
Best, Neven
[1] http://www.w3.org/TR/xpath-functions-30/#func-format-integer