Actions
Bug #2255
closed![Author: David Sewell](https://www.gravatar.com/avatar/c2fdd23a35631b89b5e86002dd671fad?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: O'Neil Delpratt](https://www.gravatar.com/avatar/a0bc1766b412d8fecb16f7d304916359?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
xsl: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