Actions
Bug #5911
closedSaxonCS crashes when package version number is wrong
Start date:
2023-03-08
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
11, 12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Platforms:
.NET
Description
If the package version number in xsl:use-package is not in the correct lexical form, for example "1.0.0", a crash of the form
Input string was not in a correct format.
System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
at System.Int32.Parse(String s)
at Saxon.Hej.style.PackageVersion..ctor(String s) in /Users/mike/....../Saxon/Hej/style/PackageVersion.cs:line 49
results
Please register to edit this issue
Actions