Hi Marco,
when using doc() we used to pass into it a relative (to the static base uri) filesystem path to an xml file. This was parsed without any problems. Now (basex 8.2.2) the parsing works but we get on the standard output stating that the database (named as the first path element) does not exist.
Could you write down the single steps for reproducing this? What I did was..
* creating a folder 'dir' on my desktop, * creating a well-formed xml file 'file.xml' in the 'dir' folder, and * running the following query from the desktop:
basex "doc('dir/file.xml')
I got the contents of file.xml as result without any error message.
I understand that the doc function first looks up the database server and then accesses the filesystem. Is it like that?
Exactly. It's described somewhere in the last paragraph of [1] in the documentation (...not easy to find).
Cheers, Christian