|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Bug in Saxon?
On 07/08/2024 14:16, Roger L Costello costello@xxxxxxxxx wrote:
Hi Folks,as="xs:string"/> <xsl:variable name="legacy-ARINC-elmt-value" select="' '"as="xs:string"/> <xsl:variable name="whole-part"select="substring($legacy-ARINC-elmt-value,1,3)"/> <xsl:variable name="fraction-part"select="substring($legacy-ARINC-elmt-value,4,3)"/> select="concat(xs:string(xs:integer($whole-part)),'.',$fraction-part)"/>
expected, without error. test.xsl: SXWN9027 Evaluation will always throw a dynamic error: Cannot convertzero-length string to an integerLatest version is 12.5 so consider to test with that for bug reports. And if you want us to relate an error message with line numbers to the code you need to post a complete, minimal XSLT stylesheet. As for not getting a warning, there is a setting to turn warnings off I believe.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








