Mukul Gandhi created XALANJ-2747:
------------------------------------
Summary: xalan-j xpath3 function calls, should allow literal
sequence and array arguments
Key: XALANJ-2747
URL: https://issues.apache.org/jira/browse/XALANJ-2747
Project: XalanJ2
Issue Type: Task
Security Level: No security risk; visible to anyone (Ordinary problems in
Xalan projects. Anybody can view the issue.)
Components: Xalan-interpretive, XPath, XPath-function
Reporter: Mukul Gandhi
Assignee: Mukul Gandhi
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}})
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]