#1139 format-integer(1, '#0') failing

v9.3
closed
oneil
5
2012-10-08
2011-03-09
oneil
No

format-integer(1, '#0')

..throws an exception in SaxonEE 9.3.01 (?format-integer() picture is not valid?), while the picture string seems to be valid, according to the spec:
http://www.w3.org/TR/xpath-functions-30/#func-format-integer

"There must be at least one mandatory-digit-sign. There may be zero or more optional-digit-signs, and (if present) these must precede all mandatory-digit-signs. There may be zero or more grouping-separator-signs. A grouping-separator-sign must not appear at the start or end of the decimal-digit-pattern, nor adjacent to another grouping-separator-sign."

A patch is being committed to Subversion for the 9.3 branch.

Discussion

  • Michael Kay
    Michael Kay
    2011-04-21

    Fixed in 9.3.0.5