Re: [basex-talk] Testing if a database exists and if some files exist

2020-07-29 Thread Geoff Alexander
I don't know if this is the best way. To test if a database exists, I simply send a GET request to https://://rest/ and check the response status code. A 200 OK response indicates that the database exists and a 404 Not Found response means that the database doesn't exists. Similarly, I send a

Re: [basex-talk] [EXTERNAL] - Re: BaseX 9.4 - XQuery locks - documentation query

2020-07-29 Thread Srikumar Choudhury
Hi Christian, Thanks for quick response. will following serializing xquery help to generate the Doctype and xml declaration? Original XML file: === ... //.xml: XML file in Basex Database:

[basex-talk] Testing if a database exists and if some files exist

2020-07-29 Thread Ramzi Hammouda
Hello BaseX team, I'm building a C# application, I'm using Rest APIs, how can I test if a database exists or not when I launch my application, and create necessary db/files when they are missing ? Thanks, Ramzi P Respectons ensemble l'environnement. N'imprimez ce message que si n?cessaire.

Re: [basex-talk] Reg : Memory leak suspect

2020-07-29 Thread chandra sekhar n
thank you veru much On Wed, Jul 29, 2020 at 12:30 PM Christian Grün wrote: > Hi Chandra, > > As BaseX 7.9 is more than 6 years old now, we definitely recommend you > to switch to the latest version in the near future. > > Best, > Christian > > > > On Wed, Jul 29, 2020 at 8:36 AM chandra sekhar

Re: [basex-talk] Reg : Memory leak suspect

2020-07-29 Thread Christian Grün
Hi Chandra, As BaseX 7.9 is more than 6 years old now, we definitely recommend you to switch to the latest version in the near future. Best, Christian On Wed, Jul 29, 2020 at 8:36 AM chandra sekhar n wrote: > > Dear Team, > Actually it is happening in production ,So we can not test this

Re: [basex-talk] Reg : Memory leak suspect

2020-07-29 Thread chandra sekhar n
Dear Team, Actually it is happening in production ,So we can not test this scenario with the latest version. Regards, Chandrasekhar On Wed, Jul 29, 2020 at 12:00 PM Christian Grün wrote: > Hi Chandra, > > Does this also happen with the latest version of BaseX? > > Best, > Christian > > >

Re: [basex-talk] Reg : Memory leak suspect

2020-07-29 Thread Christian Grün
Hi Chandra, Does this also happen with the latest version of BaseX? Best, Christian chandra sekhar n schrieb am Mi., 29. Juli 2020, 07:58: > Dear Basex Team, > Basex server instance consuming more money,That instance is not releasing > the memory ,to resolve this issue every time we are