Bug #1460
closed
No support for XSLT sequences when passing values between JavaScript and XSLT
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.
- 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.
- Fixed in version set to Beta 0.2
- Sprint/Milestone set to Beta 0.2
- Status changed from Resolved to Closed
- Fixed in version changed from Beta 0.2 to 1.0
Fixed in Saxon-CE version 1.0
- Sprint/Milestone changed from Beta 0.2 to Release 1.0
- % Done changed from 0 to 100
Please register to edit this issue
Also available in: Atom
PDF