-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functional XQuery causes NullPointerException #2385
Comments
@adamretter interesting implementation! |
@line-o That's a great work around thank you. How the hell did you figure out that would work though? |
@adamretter try and error while figuring out what your code actually does :) |
@adamretter I thought: "Maybe, less inline functions could help me and the parser understand" |
@line-o nice. P.S.: Ran both queries and get the same results NPE for a) and desired output for b). |
any news? |
@carnevlu is it still a problem? |
@dizzzz I believe yes. I have to workaround this limitation every once in a while. Last time it was code running on the latest release 5.3.0. |
The following XQuery causes a
NullPointerException
:The query should return the value
<io:realworld xmlns:io="http://io"/>
as it does in both BaseX and Saxon.In eXist-db the following Java stacktrace is the result of the NPE:
The problem seems to be that
Expr#analyze
is not called on the body of theUserDefinedFunction
.The text was updated successfully, but these errors were encountered: