Hi Alex,
How does the signature of the invoked Java function look like?
Best, Christian
On Mon, Jun 18, 2018 at 9:43 PM Alexander Shpack shadowkin@gmail.com wrote:
Hey, team!
Just simple question. How to pass sequence of string to the java class?
let $values := for $i in (1 to 3) return $i cast to xs:string return j:exec($values)
In case when local function returns one item all is good. Otherwise j:exec takes array of item()+, but not the array of stings.
If you just call j:exec(("1","2")) than all works as expected.
Any thoughts? Is it bug or feature? ;)
BaseX 9.0
Thanks!
-- s0rr0w