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.

Actions #1

Updated by Philip Fearon over 12 years ago

  • Status changed from New to Resolved

Fixed

Actions #2

Updated by O'Neil Delpratt almost 12 years ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 1.0

Fixed in Saxon-CE version 1.0

Actions #3

Updated by O'Neil Delpratt almost 12 years ago

  • Sprint/Milestone set to Release 1.0
  • % Done changed from 0 to 100

Please register to edit this issue

Also available in: Atom PDF