Open joewiz opened 6 years ago
My only concern is that as an XQuery processor eXist is right to define pre-assigned module namespaces, which users should not be able to freely override. Just as you cannot simple define your own xml:custom
namespace or point xml:lang
to some other location. Users would need to come up with better namespaces for their modules in case of clashes. So by lazy-loading we might end-up enabling something that we shouldn't.
see #1771
What is the problem
As described by @adamretter in the 2018-03-19 Community Call:
See also https://github.com/eXist-db/expath-file-module/issues/6, in which the only way to import the EXPath File Module is to comment out the native file module in conf.xml and restart eXist, but having done this, there is no way to use the native file module.
The solution proposed by @adamretter is to move to "lazy loading" of modules.
What did you expect
I expected to be able to freely override default module namespace prefix bindings set in conf.xml.
Describe how to reproduce or add a test
Context information