Hi
I have a xml file with more than 256 namespace declared. BaseX is giving me "*"Too many different namespaces (limit: 256)" exception.* *How can I increase the limit to load this xml file?*
*Thanks* *Prasad G.*
Hi Prasad,
If all of your namespaces occur in a single document, there’s currently no solution to preserve your namespaces in the database (you can activate the STRIPNS option when creating a database, but that’s probably not what you are looking for). The namespace limit extension is discussed in the Wiki [1], but it will probably take some time to make this happen.
If you encounter the limit when parsing several documents, you can distribute your documents over multiple databases, which can then be accessed by a single XQuery expression.
Hope this helps Christian
[1] https://github.com/BaseXdb/basex/issues/902
On Tue, Jun 21, 2016 at 1:11 PM, prasad gavhane prasadgavhane7@gmail.com wrote:
Hi
I have a xml file with more than 256 namespace declared. BaseX is giving me ""Too many different namespaces (limit: 256)" exception. How can I increase the limit to load this xml file?
Thanks Prasad G.
basex-talk@mailman.uni-konstanz.de