Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1049 xs:decimal('-.0') fails

v9.2
closed
Michael Kay
5
2012-10-08
2010-03-09
Michael Kay
No

Attempting to convert the string "-.0" (or -.00, etc) to an xs:decimal fails with a Java NumberFormatException.

A patch to the 9.2 branch (net.sf.saxon.value.DecimalValue) is being committed.

Discussion

  • Michael Kay
    Michael Kay
    2010-04-26

    Fixed in 9.2.1.1