Bug #1460
closedNo support for XSLT sequences when passing values between JavaScript and XSLT
100%
Description
XSLT sequences should be converted to arrays when passed to a JavaScript function. Likewise, if a JavaScript function called from within XSLT returns an array, then this should be converted to an XSLT sequence. Currently an exception occurs because no conversion is attempted.
Updated by Philip Fearon almost 13 years ago
- Status changed from New to Resolved
(Regarding sequences of more that one item) This was effectively 'not yet implemented' rather than a bug. This is now implemented and sequences and arrays are now interchangeable between XSLT and JavaScript. There is however some ambiguity when converting an empty sequence to a JavaScript object (for example as an argument to an ixsl:call), the strategy used it to first convert to null, if JavaScript throws an exception, then an empty array is sent instead.
Updated by O'Neil Delpratt almost 12 years ago
- Status changed from Resolved to Closed
- Fixed in version changed from Beta 0.2 to 1.0
Fixed in Saxon-CE version 1.0
Updated by O'Neil Delpratt almost 12 years ago
- Sprint/Milestone changed from Beta 0.2 to Release 1.0
- % Done changed from 0 to 100
Please register to edit this issue