14 Jan
2016
14 Jan
'16
11:17 p.m.
Hi, I'm trying to return a map or an array from xquery:eval. Seems this is not possible, yet the signature says it returns item()* xquery:eval('1 + 1') => 2 xquery:eval('[1,2]') => ERROR: [FOTY0014] Items of type array(*) have no string representation. xquery:eval('map { "x": 10 }') => ERROR: [FOTY0014] Items of type map(*) have no string representation. BTW: I saw that xquery:eval#3 is documented as returning item() while the other arities return item()* Tested on 8.3, haven't tested yet on 8.4beta but it's trivial to repro I figure. -- --Marc