We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Stopped at C:/Users/andy/basex.home/repo/http-expkg-zone58.github.io-ex-xparse-0.6.14/content/xparse.xqm, 1/70: [XPTY0004] expkg_zone58.text.parse.Parse_BaseX:parseXQuery(xs:string) expected, (VarRef) found. - C:/Users/andy/basex.home/repo/http-expkg-zone58.github.io-ex-xparse-0.6.14/content/xparse.xqm, 45/22
The text was updated successfully, but these errors were encountered:
Seems to be a change in the handling of closures here:
https://github.com/expkg-zone58/ex-xparse/blob/master/src/main/content/xparse.xqm#L96-L105
The new Parse_BaseX.jar works when called directly
Parse_BaseX.jar
Q{java:expkg_zone58.text.parse.Parse_BaseX}parseXQuery("if (true()) then 7 ")
Sorry, something went wrong.
This works
declare function local:foo() as function(*) { let $code:=``[function($src as xs:string){Q{java:java.lang.String}length($src)}]`` return xquery:eval($code) }; Q{java:java.lang.String}length("abc") , local:foo()("abc")
Maybe problem is with org.basex.query.value.item.Str https://github.com/expkg-zone58/ex-xparse/blob/master/src/java/Parse_XQDocComments.java#L174
org.basex.query.value.item.Str
[FIX] temporary workaround for #5
71e09a0
possibly related https://stackoverflow.com/questions/74408887/scope-and-statically-known-namespaces-in-xquery
No branches or pull requests
The text was updated successfully, but these errors were encountered: