As Christian has pointed out in private, this limitation hasn’t been lifted yet. I ran into it when I tried to index all the XML files on my hard disk. It worked for my code files yesterday because I switched to a new computer 1 year ago, and the number of code files / namespaces in them has not reached the critical limit yet.
So I made an issue out of it: https://github.com/BaseXdb/basex/issues/902
Gerrit
On 20.03.2014 22:54, Imsieke, Gerrit, le-tex wrote:
Today I noticed that I could actually build an index of all XSLT, XProc, Relax NG and Schematron files on my hard disk (3316 files). I couldn’t do that 2 years ago because the maximum number of distinct namespaces in a DB was limited to 256 or so.
Thanks, BaseX team, for lifting this restriction!
This has already proved really useful: I knew that I wrote an XProc step that conditionally invoked a step whose local name I remembered. The simple XPath expression collection('home')//*:declare-step[*:choose//*:paths] helped me identify the two relevant files. Since we do a lot of development in XML-syntax languages, an XML database is really really good for structured searches on these files. I bet you XQuery devs still use grep to query your code ;)
Gerrit