Hi Herbert,
First, thanks for the step-by-step procedure.
now insert the same 2 documents in the opposite order 7: run insert_pigs.xq 8. run insert_plants.xq <-- this will trigger the error, the database is now garbage
My database is still valid after these steps (I can run queries and I can export the full database). I also tried to swap step 7 and 8 (that would probably be the opposite order you mentioned?).
This is what I did: 1a. download and unzip BaseX91.zip 1b. start bin/basexgui from the unzipped directory 2. create an empty TEST database via the GUI dialog (and, in the second run, by running db:create('TEST'). 3. run ...etc
Some question in return:
• How do you detect that your database is garbage after the last step? • Does this also happen with a fresh installation of BaseX (did you change the default options)? • I made no difference in my tests, but how did you create the database? Did you use the GUI features, or did you run db:create('TEST') ? • Could you experience the same behavior on command line?
Cheers Christian