Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
-
None
Description
It think, that it'll be useful to enhance XPath 3.1 function call invocations, to allow literal sequence constructor and array expressions, as also suggested within few examples within XPath 3.1 F&O spec as follows:
fn:for-each(("john", "jane"), function($x)
{ fn:string-to-codepoints($x) }) // this is slight variation from the example provided in XPath 3.1 F&O spec spec. But this example is a correct XPath 3.1 function call.
array:for-each-pair(["A", "B", "C"], [1, 2, 3], function($x, $y) { array {$x, $y}})