[FIX] XQuery, GH-958: Ignore compile-time type errors involving fn:error().
Merge pull request #959 from LeoWoerteler/gh-958

[FIX] XQuery, GH-958: Ignore compile-time type errors involving fn:error().
[MIN] merged
Merge branch 'master' of github.com:BaseXdb/basex