Trying to use BaseX to index the XML version of the Unicode Database, I got a message saying an element had been encountered with too many attributes (more than 32).
Is there a way to lift this limit for a particular database? If one wants to work with the Unicode database in XML (and let's face it, it will be a lot nicer in XML than in the semicolon-delimited form of the early Unicode releases), then one is going to have to work with elements which have a lot of attributes (haven't counted, probably fewer than a hundred).
-- C. M. Sperberg-McQueen **************************************************************** * C. M. Sperberg-McQueen, Black Mesa Technologies LLC * http://www.blackmesatech.com * http://cmsmcq.com/mib * http://balisage.net ****************************************************************
...thanks for your e-mail. We are glad to report that this issue has been fixed since Version 6.5 of BaseX; we now support up to 2^31 attributes per element. If the issue should persist for some other reason, feel free to give us more details on the documents in question.
Hope this helps, Christian
PS: Do you have a link to the XML version of the Unicode Database?
On Wed, Mar 9, 2011 at 11:05 PM, C. M. Sperberg-McQueen cmsmcq@blackmesatech.com wrote:
Trying to use BaseX to index the XML version of the Unicode Database, I got a message saying an element had been encountered with too many attributes (more than 32).
Is there a way to lift this limit for a particular database? If one wants to work with the Unicode database in XML (and let's face it, it will be a lot nicer in XML than in the semicolon-delimited form of the early Unicode releases), then one is going to have to work with elements which have a lot of attributes (haven't counted, probably fewer than a hundred).
-- C. M. Sperberg-McQueen
- C. M. Sperberg-McQueen, Black Mesa Technologies LLC
- http://www.blackmesatech.com
- http://cmsmcq.com/mib
- http://balisage.net
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Dear Michael,
I had a quick look at the Unicode XML files located at
http://www.unicode.org/Public/6.0.0/ucdxml/
and the following query returns an element with the impressing number of 167 attributes with the latest version of BaseX:
(for $n in //* order by count($n/@*) descending return $n)[1]
All the best, Christian
On Wed, Mar 9, 2011 at 11:13 PM, Christian Grün christian.gruen@gmail.com wrote:
...thanks for your e-mail. We are glad to report that this issue has been fixed since Version 6.5 of BaseX; we now support up to 2^31 attributes per element. If the issue should persist for some other reason, feel free to give us more details on the documents in question.
Hope this helps, Christian
PS: Do you have a link to the XML version of the Unicode Database?
On Wed, Mar 9, 2011 at 11:05 PM, C. M. Sperberg-McQueen cmsmcq@blackmesatech.com wrote:
Trying to use BaseX to index the XML version of the Unicode Database, I got a message saying an element had been encountered with too many attributes (more than 32).
Is there a way to lift this limit for a particular database? If one wants to work with the Unicode database in XML (and let's face it, it will be a lot nicer in XML than in the semicolon-delimited form of the early Unicode releases), then one is going to have to work with elements which have a lot of attributes (haven't counted, probably fewer than a hundred).
-- C. M. Sperberg-McQueen
- C. M. Sperberg-McQueen, Black Mesa Technologies LLC
- http://www.blackmesatech.com
- http://cmsmcq.com/mib
- http://balisage.net
basex-talk@mailman.uni-konstanz.de