Bug #3544
closed![Author: Debbie Lockett](https://www.gravatar.com/avatar/9c2ec304a5bec55af709863d87d5f6b7?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Debbie Lockett](https://www.gravatar.com/avatar/9c2ec304a5bec55af709863d87d5f6b7?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Third argument of ixsl:call() is an array, documentation is inconsistent
100%
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]).
Please register to edit this issue
Also available in: Atom PDF Tracking page