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
(: a.xqm :) module namespace a = 'a';
(: b.xqm :) module namespace b = 'b';
(: c.xqm :) module namespace c = 'c'; declare %updating function c:a() as empty-sequence() { error(), c:a() };
The following query…
(: main.xq :) import module namespace c = 'c' at 'c.xqm'; ('a.xqm', 'b.xqm') ! inspect:functions(.)
…returns:
[inspect:parse] Stopped at c.xqm, 3/28: [XUST0001] type check: no updating expression allowed.
The text was updated successfully, but these errors were encountered:
Related (with INLINELIMIT = 0):
INLINELIMIT
(: x.xqm :) module namespace f = 'f'; declare function f:f() { };
(: x.xq :) declare function local:a() { current-date()[not(string(.))] }; declare %updating function local:b() { void(local:a()) ,() }; void(inspect:functions('x.xqm')), local:b()
Unexpected result: Function body must be updating.
Sorry, something went wrong.
No branches or pull requests
The following query…
…returns:
The text was updated successfully, but these errors were encountered: