Project

Profile

Help

Bug #1460

closed

No support for XSLT sequences when passing values between JavaScript and XSLT

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

Status:
Closed
Priority:
High
Assignee:
Sprint/Milestone:
Start date:
2012-03-22
Due date:
% Done:

100%

Estimated time:
Platforms:

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.

Actions #1

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.

Actions #2

Updated by Philip Fearon over 12 years ago

  • Fixed in version set to Beta 0.2
Actions #3

Updated by Philip Fearon over 12 years ago

  • Sprint/Milestone set to Beta 0.2
Actions #4

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

Actions #5

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

Also available in: Atom PDF