Issue with the 'use-when' attribute
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