I should have added, that this also does not succeed:

    declare variable $local:uri1 as xs:anyURI :=  xs:anyURI("http://example.com/batz/mongo/blah/index.html");

which leaves me even more baffled.

--
Minden jót, all the best, Alles Gute,
Andreas Mixich