Project

Profile

Help

Bug #1560

closed

Issue with the 'use-when' attribute

Added by Philip Fearon almost 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Sprint/Milestone:
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

Also available in: Atom PDF