And my assumption isn't true: The document has to exist, I cannot specify a non-existing document, i.e., a document I maybe would like to produce later as an export of the DB.
This sounds surprising to me, as I don’t get any errors when running e.g. the following command..
basex "db:create('db', <root/>, 'doesnotexist.xml')"
How does your command call look like? Christian