[FIX] XQuery, GH-907: No stack access during compilation.
Merge pull request #908 from LeoWoerteler/gh-907

[FIX] XQuery, GH-907: No stack access during compilation.