for consideration/request

Thursday, 4 April 2013 · 2 messages
RS
Rob Stapper4 Apr 2013 15:15 #
Quoted text · Rob Stapper · 16 lines
Van: Rob Stapper [mailto:r.stapper at lijbrandt.nl] Verzonden: donderdag 4 april 2013 13:13 Aan: Christian Grün Onderwerp: tip/request Hi Christian, Im working with Basex 7.7beta now without any problems. The trace-function also works much better except .. it doesnt work with mappings. I make intensive use of recursion and mappings and for debugging it would be nice if the trace-function would also work with mappings. I wouldnt ask you to implement this if it wasnt so easy to program in Xquery, see attachment. I use this programmed version but I think it would be nice if the trace-function could also process mappings. Just something to consider ? Greetings Rob Stapper
MS
Michael Seiferle4 Apr 2013 23:05 #
Dear Rob, thanks a bunch for your suggestion, imho the main issue BaseX lacks this, is that the W3 does not provide any recommendations on how to represent a map textually, i.e. serialize it. Anyhow, our team member Leo came up with a module that handles serialization of arbitrary XQuery sequences: https://github.com/LeoWoerteler/fots-basex/blob/master/serialize.xqm You most probably want to put this in your repo folder [1], so you can easily import it by only referencing its namespace. Hope this helps! Michael [1] http://docs.basex.org/wiki/Repository#Introduction
Quoted text · Rob Stapper · 24 lines
Am 04.04.2013 um 15:15 schrieb Rob Stapper <r.stapper at lijbrandt.nl>: > > > Van: Rob Stapper [mailto:r.stapper at lijbrandt.nl] > Verzonden: donderdag 4 april 2013 13:13 > Aan: Christian Grün > Onderwerp: tip/request > > Hi Christian, > > I’m working with Basex 7.7beta now without any problems. > The trace-function also works much better except …….. it doesn’t work with mappings. > I make intensive use of recursion and mappings and for debugging it would be nice if the trace-function would also work with mappings. > > I wouldn’t ask you to implement this if it wasn’t so easy to program in Xquery, see attachment. > I use this programmed version but I think it would be nice if the trace-function could also process mappings. > > Just something to consider ? > > Greetings Rob Stapper > <mapTracer.xq>_______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

⚡Generated with XQuery