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 aren’t?
Thanks in advance,
Kind regards
Bram Vanroy