Project

Profile

Help

Bug #1510

closed

XDM types passed to a JavaScript function within a sequence are not converted to JavaScript objects

Added by Philip Fearon over 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
2012-05-02
Due date:
% Done:

100%

Estimated time:
Platforms:

Description

Sequences are not converted properly when using ixsl:call() or js:function() methods to call into JavaScript from XSLT, as shown in the following sample:

<xsl:variable name="obj" select="js:makeCommand(('stylesheet','my1.xsl', 'source','newsource.xml'))"/>

In the above case, the JavaScript function receives an array of objects, but in the above example the objects are user-defined objects with property values like xs:string indicating that the objects have not been converted.

Please register to edit this issue

Also available in: Atom PDF