Godmar,
I recently upgraded to BaseX 6.1. I now receive an error when running a query that run without complications in BaseX 6.0 The offending query has this prolog: ...
Thanks for your detailed feedback. It would be great if you could provide us with a small Java snippet that demonstrates the problem and runs out-of-the-box; this might speed up debugging. Next, you could try your luck with the latest minor version of BaseX (the next official release is about to come soon):
http://www.inf.uni-konstanz.de/dbis/basex/maven/org/basex/basex/
Another point of information: out of curiosity, I printed information about the prepared expression after prepareExpression like so: System.out.println("external vars: " + Arrays.asList(pe.getAllExternalVariables()));
If I remember right, there is no clear distinction between external and global variables in BaseX. If the variables have not been assigned, however, they should be listed as unbound variables.
Feel free to ask for more, Christian