Great. I'm going to download it right away and throw away the ugly workaround I had for this. It wasn't a big deal, but this is better. Thanks.
--Marc On Tue, Aug 26, 2014 at 10:59 AM, Christian Grün <[email protected]> wrote: > Hi Marc, > >> Would it be possible to add automatic serialization of map and array >> types in fn:trace? > > Makes sense; or, better, made sense, as I've just extended fn:trace() > and prof:dump() to also serialize maps and arrays. Beside that, any > other function items can now be specified, too [1]. > > Best, > Christian > > [1] http://files.basex.org/releases/latest/ > > >> When using it should be transparent but currently providing a map or >> array fails. To trace it I now use awkward code to do it since I have >> to call map:serialize and array:serialize myself. E.g. >> (fn:trace(map:serialize($map, 'X: ')), func($map))[2] >> >> Cheers, >> --Marc -- --Marc

