On Mon, 2022-02-21 at 23:44 -0500, Eric Levy wrote:
Yes, I think the suggestion was given previously for using DBPATH. I need to consider how easy it is to accept. It is a workaround, and gives me some hesitation about robustness and stability.
You've come to BaseX with a predetermined view of how you'll use it, so it's not surprising if you start out by fighting it.
It seems also that BaseX writes files under the user home directory, which unfortunately is not an agreeable side effect for my application.
BaseX determines an application home directory and puts files there; the default is the directory containing the BaseX distribution.
See the BaseX documentation wiki under Configuration: https://docs.basex.org/wiki/Configuration
A down side of this is that if you upgrade to a new BaseX version you have to migrate the configuration files; i've been bitten that way a couple of times and would prefer the files in ~/.config/basex but this way is cross-platform.
Please, be very specific in saying what you're trying to do. It might indeed be that some other XQuery engine - or something else entirely - will do a better job for you, or that there's a better configuration for BaseX for you, but we don't have enough information from you to suggest such things.