xsl:assert no longer producing message in Saxon-PE 220.127.116.11J
Under Saxon-PE 9.5, xsl:assert emitted a message when its test condition failed. 9.6 is no longer producing a message.
For example, given the XML
and the XSLT
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0">
<xsl:assert test=". eq '1'">The number must be 1!</xsl:assert> <xsl:copy-of select="."/>
Saxon 9.5 sends the message "The number must be 1!" and terminates with an error code; Saxon 9.6 just terminates with error.
#2 Updated by O'Neil Delpratt over 6 years ago
- Status changed from In Progress to Resolved
- Priority changed from Low to Normal
- % Done changed from 0 to 100
- Found in version set to 9.6
Bug fixed and committed to subversion. The cause was a failure to close the writer when the exception is thrown. This we now do in a finally block in the Controller.
Please register to edit this issue