restriction on number of namespaces has apparently been lifted – thank you
Thursday, 20 March 2014 · 2 messages · last reply 21 Mar 2014
IL
Imsieke, Gerrit, le-tex20 Mar 2014 22:54 #
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
IL
Imsieke, Gerrit, le-tex21 Mar 2014 07:37 #
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
Quoted text · le-tex · 18 lines
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
Written for BaseX 7.8. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery