[basex-talk] New fails without warning when one file out of 27 is locked

2022-08-04 Thread Patrick Durusau
Greetings! My mistake but I had one file out of 27 open in an editor when I tried to create a new database across the file set. Got the error message that basex 10.0 could not find (file-name), so I chose ok. Apparently basex failed at that point and did not skip the open file. No

Re: [basex-talk] changes in BaseX-10.0 w.r.t. http:send-request() / fetch:doc() functions?

2022-08-04 Thread Andy Bunce
There seems to be a 303 redirect. Maybe this is relevant https://stackoverflow.com/a/66325588/3210344 /Andy [image: image.png] On Thu, 4 Aug 2022 at 16:19, Christian Grün wrote: > What I have assessed so far is that it’s the Java Client that fails to > retrieve the result. It’s the same

Re: [basex-talk] changes in BaseX-10.0 w.r.t. http:send-request() / fetch:doc() functions?

2022-08-04 Thread Christian Grün
What I have assessed so far is that it’s the Java Client that fails to retrieve the result. It’s the same response that’s returned by BaseX. String uri = "http://vocab.getty.edu/aat/300027473.rdf;; HttpClient client = HttpClient.newBuilder().build(); HttpRequest request =

Re: [basex-talk] changes in BaseX-10.0 w.r.t. http:send-request() / fetch:doc() functions?

2022-08-04 Thread Christian Grün
Dear Ron, There has indeed been a substantial change in the way how http:send-request works; it’s now based on the contemporary Java HTTP Client API, which provides a better overall performance [1]. We’ll additionally mention that in the article on the HTTP Client Module. It should yield the

[basex-talk] changes in BaseX-10.0 w.r.t. http:send-request() / fetch:doc() functions?

2022-08-04 Thread Ron Van den Branden
Hi, After upgrading BaseX to 10.0 (yay!), I notice how http:send-request() calls that used to work in 9.7 are now failing. I didn't find any changes documented between version 9.7 and 10.0 at https://docs.basex.org/wiki/HTTP_Client_Module. Yet (tested with the same JDK), I'm observing

Re: [basex-talk] changes in BaseX-10.0 w.r.t. http:send-request() / fetch:doc() functions?

2022-08-04 Thread Ron Van den Branden
Dear Christian, Whoops, the obvious, after all; thanks for kindly (and lightning fast) pointing that out, and looking into this! Best, Ron On 4/08/2022 16:55, Christian Grün wrote: Dear Ron, There has indeed been a substantial change in the way how http:send-request works; it’s now based