Open
Description
What steps will reproduce the problem?
Decimal numbers between 0 and 1 is not converted into numbers.
Also negative numbers which aren't number! -01 is not converted into strings.
The following code fix the issue:
[not(string(number())='NaN' or
(starts-with(.,'0' ) and . != '0' and not(starts-with(.,'0.' ))) or
(starts-with(.,'-0' ) and . != '-0' and not(starts-with(.,'-0.' )))
)]
Original issue reported on code.google.com by [email protected]
on 19 Jan 2011 at 11:05