Commit c09fa948 authored by Wolfgang Test's avatar Wolfgang Test

Fix XQuery linting to work with eXist develop

parent 68eccf2c
......@@ -291,7 +291,8 @@ declare function local:lint() {
let $code := request:get-parameter("code", ())
let $prolog := (
"declare variable $parameters := map {};",
"declare variable $node := ();"
"declare variable $node := ();",
"declare context item ();"
Please register or sign in to reply
)
let $query := string-join($prolog) || "
" || $code
let $r := util:compile-query($query, ())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment