Support #5152
closed'Input string was not in a correct format' while compiling stylesheet
0%
Description
Hi,
We have a xslt file that was produced from some schematron files that contain business rules for tax validations (provided by a third party tax authority).
We have been using Saxon 9 to validate the XML file, but because we are targetting .NET Core in our products we need to migrate this code to Saxon 11 CS.
In saxon 11 CS the xsltCompiler.Compile(new StringReader("the stylesheet")) is throwing "System.FormatException: 'Input string was not in a correct format.'"
at Singulink.Numerics.BigDecimal.Parse(ReadOnlySpan`1 s, NumberStyles style, IFormatProvider formatProvider)
Because the stylesheet worked on Saxon 9 HE i would like to know if this is a bug / limitation of the current version and if there is a fix on the foreseable future or an immediate workaround for the problem.
Thanks.
Orlando Ribeiro¶
Files
Please register to edit this issue