Closed ChristianGruen closed 2 months ago
And another one that raises XQDY0054
(see https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg15865.html):
declare variable $a := function-lookup(xs:QName('X'), 0);
declare variable $b := $a;
declare function local:f() { $b };
local:f()
The queries in the first comment were fixed by dcf52450ec6166db340800895bbf940427d75e8f.
Based on #1095: The following queries still result in StackOverflow errors: