Hi Gioele,
The first question: in my case all the elements are in one namespace, declared in the root element. Shouldn't the optimizations kick in?
I must admit it’s been a while ago when we were working on these optimizations. If you are interested to dig deeper, the Path.size function could be a good entry point [1].
Any workaround aside reimporting the database stripping the namespace information?
Stripping namespace (via STRIPNS [2]) would surely be an option.
And now the request. Would it be possible to document in the wiki which optimizations are not possible when namespaces (or more than one namespace) are used?
It would take me quite some time to get this all documented, but let’s see what I can do.
Christian
[1] https://github.com/BaseXdb/basex/blob/master/basex-core/src/main/java/org/ba... [2] http://docs.basex.org/wiki/Options#STRIPNS