Project

Profile

Help

Bug #3020

closed

_APPLY() construct has not been implemented in Saxon-JS

Added by Debbie Lockett about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
2016-11-07
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
0.9
Fix Committed on JS Branch:
0.9
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

The fn:apply() function is not fully implemented in Saxon-JS, since Saxon-JS does not support the higher-order functions feature. However, it is allowed for cases where the function called is a map or array.

The error arises when a dynamic function call on a map or array has been translated (at compile time) to an apply call. Note that how this is done is slightly different for 9.7 and 9.8.

For example, see XSLT 3.0 test -s:maps -t:maps-001.

The SEF produced by 9.7 contains:

The SEF produced by 9.8 contains:

Neither of these constructs is implemented in Saxon-JS 0.9.

Please register to edit this issue

Also available in: Atom PDF Tracking page