Project

Profile

Help

Bug #3544

closed

Third argument of ixsl:call() is an array, documentation is inconsistent

Added by Debbie Lockett over 6 years ago. Updated almost 6 years ago.

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

100%

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

Description

In a couple of places in the documentation, we give examples of using ixsl:call(), but these are wrong because the third argument (supplying the function parameters) is not an array:

https://www.saxonica.com/saxon-js/documentation/index.html#!ixsl-extension/functions/call

https://www.saxonica.com/saxon-js/documentation/index.html#!development/global

e.g. 'Using global JavaScript functions' says:

Saxon-EE converts the function call js:square('5') at compile time into the function call ixsl:call(ixsl:window(), "square", 5).

but this should be:

... ixsl:call(ixsl:window(), "square", [5]).

Actions #1

Updated by Debbie Lockett over 6 years ago

  • Status changed from New to Resolved
  • Fix Committed on JS Branch 1.0, Trunk added

Documentation updated (including online).

Actions #2

Updated by Debbie Lockett almost 6 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in JS Release set to Saxon-JS 1.1.0

Bug fix applied in the Saxon-JS 1.1.0 maintenance release.

Please register to edit this issue

Also available in: Atom PDF Tracking page