Re: [basex-talk] many distinct namespaces

2019-01-24 Thread Liam R. E. Quin
On Wed, 2019-01-16 at 15:31 +0100, Christian Grün wrote: > Hi Liam, > > > did this ever happen? > > What exactly? ;) sorry! support for more than 256 namespaces in one db. -- Liam Quin, https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/W

Re: [basex-talk] many distinct namespaces

2019-01-16 Thread Christian Grün
Hi Liam, > did this ever happen? What exactly? ;) > * reserve 7 bits for the namespace, and 1 bit for "uses extended > namespace". In the top-bit-set objects only, add an extra byte. > * Use the first 2 bytes of the element name :) There are a few online resources with details on our chosen sto

Re: [basex-talk] many distinct namespaces

2019-01-15 Thread Liam R. E. Quin
On Fri, 2018-11-02 at 17:25 +0100, Christian Grün wrote: did this ever happen? > > Some more details: The current storage layout per node has been fixed > to 16 bytes. One byte (8 bits) is reserved for the namespace > reference. Here are a couple of hacky appraches in the spirit of brainstormi

Re: [basex-talk] many distinct namespaces

2018-11-02 Thread Christian Grün
> > How hard can it be to move from a 16 bit architecture to a 32 bit > architecture? Yes, that can be tricky. Just one example that affects Java and BaseX: Java arrays are limited to 2^31 entries. Although 64 bit CPUs were getting popular a long time ago, I don’t believe this limit will ever be

Re: [basex-talk] many distinct namespaces

2018-11-02 Thread Imsieke, Gerrit, le-tex
One approach to avoid migration and backwards compatibility issues would be to support a standard storage and an extended storage side by side. The storage and query functions would know beforehand which layout variant the current database is in, and they could use the appropriate optimized func

Re: [basex-talk] many distinct namespaces

2018-11-02 Thread Christian Grün
Hi Gerrit, thanks for your generous offer to sponsor the requested feature. I am ashamed to confirm it’s been a long time since this issue has been opened and not closed yet. You are asking how much money will be required to get this fixed. I’m not sure after all. Maybe I would rather ask for 3, 4

Re: [basex-talk] many distinct namespaces

2018-10-31 Thread Imsieke, Gerrit, le-tex
Hi Sergei, The corresponding issue will turn 5 next March: https://github.com/BaseXdb/basex/issues/902 If you are an XML developer who wants to index all the XML, XSLT, XProc, RNG, XSD, Schematron, etc. files on your hard disk in an XML database, chances are that you’ll need more than 256 na

[basex-talk] many distinct namespaces

2018-10-31 Thread Сергей Чесноков
Hi all, Is it possible to bypass the following restriction (I cannot change "ep_ins_med_q.xsd" (Central Bank xbrl scheme))?: BaseX 9.1 Command: CREATE DB bfo D:/portal/xbrl/CBR/final_1_3_1/Taxonomy_1_3_1/www.cbr.ru/xbrl/bfo/ Error: "D:/portal/xbrl/CBR/final_1_3_1/Taxonomy_1_3_1/www.cbr.ru/xbrl