Hello there,
I'm using the CLI to load a xml file from my file system:
java -cp basex.jar org.basex.BaseX -i myfile.xml myscript.xqy
The first time I run the command, everything is fine, my file is loaded and my xquery script is executed. But the second time I run it, whenever I change the content of myfile.xml, it is not taken in consideration. I realized that it stores my file in the database the first time and after that it loads it from the database.
I was confused because it worked the first time. Could it refresh the content of the database whenever a file exists? And fallback to open the file from database when the specified file does not exist?
Whatever, maybe just a clarification about the behavior in the doc could prevent bad usage.
Thanks.