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.

Actions #1

Updated by Michael Kay over 4 years ago

I've improved the error message (by patch) on the 9.9 branch.

For the next major release, I have moved the support code for memo functions into Saxon-HE.

Actions #2

Updated by Michael Kay over 4 years ago

  • Category set to Diagnostics
  • Status changed from New to Resolved
  • Priority changed from Low to Normal
  • Applies to branch 9.9, trunk added
  • Fix Committed on Branch 9.9, trunk added
Actions #3

Updated by O'Neil Delpratt over 4 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.9.1.5 added

Bug fix applied in the Saxon 9.9.1.5 maintenance release.

Please register to edit this issue

Also available in: Atom PDF