Am 11.07.2020 um 14:41 schrieb Giuseppe G. A. Celano:
I am trying to perform a join operation between two large XML files (~490 MB and ~40 MB), which are the result of the automatic conversion of old sql dumps into XML files. I created two databases for the files. The query I wrote to join them is correct because it works when I limit the join to just a few items, but it never ends if I apply it to all items:
here is the xquery: https://git.informatik.uni-leipzig.de/celano/perseus_morpheus/-/blob/master/...
Isn't the where $nn kind of meaningless? I don't think you can have an empty sequence $nn, as you don't use `allowing empty` when you bind that variable in the nested `for`.
No idea of course whether that changes the problem you encounter.