Actions
Bug #1560
closedIssue with the 'use-when' attribute
Start date:
2012-06-20
Due date:
% Done:
100%
Estimated time:
Platforms:
Description
The following instruction unexpectedly causes a compile-error in Saxon-CE when the function ext:cwd does not exist
<xsl:value-of use-when="function-available('ext:cwd')" select="ext:cwd()"/>
The expected behavior is that the use-when
attribute should cause the instruction to be ignored when the function being tested is not available (use-when evaluates to false), allowing compiling to succeed.
This issue has been fixed ready for the next maintenance release of Saxon-CE.
Please register to edit this issue
Actions