-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Christian GrĂ¼n wrote:
Hi Andreas,
me again :-)
Welcome ;)
I upload a a file 'README.rst' using cadaver and BaseX creates a collection 'README' instead of a resource:
This was indeed a deliberate decision: With BaseX you'll find databases on top level ? and a resource cannot be stored outside a database. Instead, a new database will be created, and the file will be stored in that database.
In the past, we already wondered if we shouldn't disallow users to copy files on root level instead of automagically creating a new database. However, some tests indicated that this behavior wouldn't be 100% intuitive neither.
Perhaps this decision and the "magic" should be described here:
http://docs.basex.org/wiki/WebDAV
Andreas