Doh! I was completely looking in the wrong places, Im sorry about that.
In our case, database names are built by taking attributes of subtrees into account. Later this year, well publish a paper about this with the speed improvements we get with this.
Thanks and apologies for not looking well enough.
Van: basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] Namens Dirk Kirsten Verzonden: woensdag 12 april 2017 14:08 Aan: basex-talk@mailman.uni-konstanz.de Onderwerp: Re: [basex-talk] Characters allowed in database names
Hello Bram,
at least the documentation seems to reflect that: http://docs.basex.org/wiki/Commands#Valid_Names. It is also linked within http://docs.basex.org/wiki/Commands#CREATE_DB, so I think the documentation is hard to improve.
However, I agree that the error message should be improved.
And you have some weird database names...
Cheers
Dirk
On 04/12/2017 02:04 PM, Bram Vanroy wrote:
Hello, list
Upon creating specific database names I came across the following issue: when creating a database named wrpee|advp|hd%bw (without quotes) from the CREATE command I got the basic how to use CREATE screen in my terminal. This would seem to indicate that my syntax is wrong, even though CREATE DATABASE wrpee|advp|hd%bw C:\sonar\grinded\WRPEE\advp\ advp|hd%bw.xml is syntactically valid (two arguments for CREATE DATABASE).
The issue seems to be in the database name. The pipe | is not allowed, it seems. When replaced by a dash - it works as expected. However, I cannot find this documented anywhere. Is it possible to make the error message more clear, e.g. invalid database name, or at least update the documentation on this? Which characters are allowed, and which arent?
Thanks in advance,
Kind regards
Bram Vanroy