Hi Christian, Am 18.03.2013 um 23:53 schrieb Christian Grün <christian.gruen@gmail.com>:
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?
It's in the cgi and it looks like this: $session->execute("xquery declare option db:ftindex 'on'; declare option db:updindex 'on'; db:create('annotate-$phraseme', <root/>, 'annotate-$phraseme.xml')"); $phraseme holds the ID to be used. But it's funny, it works today without error, but it didn't work two days ago. And I did not install any updates. So it fixed itself, thanks! Cerstin -- Dr. phil. Cerstin Mahlow Universität Basel Departement Sprach- und Literaturwissenschaften Fachbereich Deutsche Sprach- und Literaturwissenschaft Nadelberg 4 4051 Basel Schweiz Tel: +41 61 267 07 65 Fax: +41 61 267 34 40 Mail: cerstin.mahlow@unibas.ch Web: http://www.oldphras.net