Project

Profile

Help

Bug #4276

closed

Saxon-HE ignores xsl:function/@new-each-time="no", with a poor warning message

Added by Michael Kay over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2019-08-12
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:

Description

If the attribute new-each-time="no" is present on xsl:function, Saxon-HE ignores the attribute, with the warning message

Warning at xsl:function on line 12 column 63 of function-1032.xsl:
  SXWN9011: Memo functions are not available in Saxon-HE: saxon:memo-function attribute ignored

Quite apart from the poor error message, which is a legacy resulting from the fact that in the past, this functionality was only available as a Saxon extension, it appears that support for new-each-time="no" is required for XSLT 3.0 conformance and should therefore be available in Saxon-HE.

Test case function-1032 reveals the problem. This is failing under Saxon-HE (though for some reason, only with bulk copy enabled). See also bug 4273.

Please register to edit this issue

Also available in: Atom PDF