Hi,
I have a directory with 12 testfiles. In the BaseX-GUI, the command:
CREATE DB Parl_Test
/home/bengbers/R/x86_64-redhat-linux-gnu-library/4.1/RBaseX/extdata/xml_files/
Creates database "Parl_Test" and loads the xml-files.
In my R-client,
Session$Create("Parl_Test") creates database "Parl_test"=> OK
I want to create the same database with my client.
I initialize the variable "XML_Files" with
"/home/bengbers/R/x86_64-redhat-linux-gnu-library/4.1/RBaseX/extdata/xml_files".
The client translates the command:
Session$Create("Parl_Test", XML_Files) into a raw vector:
'\bParl_Test\0/home/bengbers/R/x86_64-redhat-linux-gnu-library/4.1/RBaseX/extdata/xml_files'
which is sent to the server.
But the server responds with:
"\"Parl_Test.xml\" (Regel 1): Content is not allowed in prolog."
I didn't touch the xml-files. Where is the content inserted?
Ben Engbers