Open charlessimpson opened 7 years ago
There's a similar problem when trying to import a namespace with prefix "default", e.g.:
xquery version "3.0";
import module namespace default = "uri:module:namespace:default" at "DefaultExample.xq";
default:func()
XQuery has few reserved keywords (https://www.w3.org/TR/xquery-30/#id-reserved-fn-names), but the parser shows an error when declaring a namespace with prefix named "default". For example:
Instead, the parser shows the error: