Actions
Bug #2255
closedxsl:assert no longer producing message in Saxon-PE 9.6.0.3J
Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
Start date:
2014-12-11
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:
Description
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
2
and the XSLT
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0">
<xsl:template match="number">
<xsl:assert test=". eq '1'">The number must be 1!</xsl:assert>
<xsl:copy-of select="."/>
</xsl:template>
</xsl:stylesheet>
Saxon 9.5 sends the message "The number must be 1!" and terminates with an error code; Saxon 9.6 just terminates with error.
Please register to edit this issue
Actions