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!