Actions
Bug #5656
closedXDM array is not converted to a true JS array?
Status:
Resolved
Priority:
Normal
Assignee:
Category:
IXSL extensions
Sprint/Milestone:
Start date:
2022-08-22
Due date:
% Done:
0%
Estimated time:
Applies to JS Branch:
2, Trunk
Fix Committed on JS Branch:
Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
According to XDM to JavaScript Conversion array(*)
should be converted to a JS array.
However this code:
<xsl:variable name="array" select="[ 'a' ]" as="array(*)"/>
<xsl:sequence select="ixsl:call($array, 'push', [ 'b' ])"/>
gives error:
ixsl:call: object method 'push' not found
Same error for this code (note that @as
is absent here):
<xsl:variable name="array" select="js:Array([ 'a' ])"/>
<xsl:sequence select="ixsl:call($array, 'push', [ 'b' ])"/>
Related issues
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page