Hi Christian, looks good with BaseX 9.4.3 beta. Fastest „support" ever 👍.
Markus > Am 02.09.2020 um 23:06 schrieb Christian Grün <christian.gr...@gmail.com>: > >> example to track this down [1]. A bug fix will probably be available >> tomorrow > > Things worked out faster than I expected. Feel free to check out the > latest snapshot [1]. > > Best, > Christian > > [1] https://files.basex.org/releases/latest/ > > >> >> Cheers, >> Christian >> >> [1] https://github.com/BaseXdb/basex/issues/1935 >> >> >> >> On Wed, Sep 2, 2020 at 9:19 PM Markus Schmid <schmi...@t-online.de> wrote: >>> >>> Hi, >>> >>> I have a small code sample ScriptOrig.xqy >>> (https://gitlab.com/ms452206/stackoverflow63684864). >>> >>> I am not sure what is wrong. While I expected this output: >>> >>> <database name="DS0002" autosar="AutosarFoo02.arxml" >>> fibex="FibexFoo02.xml"/> >>> <database name="DS0003" autosar="AutosarFoo03.arxml" >>> fibex="FibexFoo03.xml“/> >>> >>> I got this: >>> >>> <database name="DS0002" autosar="AutosarFoo02.arxml" fibex=""/> >>> <database name="DS0003" autosar="AutosarFoo03.arxml" fibex="“/> >>> >>> The modified version ScriptModified.xqy works as required. >>> >>> You can reproduce this using BaseX 9.4.2. >>> >>> I have more weird function using map:entry. >>> >>> Thank you for exploring this. >>> >>> Markus