[basex-talk] Trigger to apply statements on technical events ?

2015-05-11 Thread cmarchand
Hello ! I've had this problem : I've forgotten a db:optimize(...) after a delete nodes operation. The following xquery has been 60 times slower than before. Is there a way to detect an update operation, and a way to know on which database the update occurs, to run automatically a db:optimize(.

[basex-talk] Lock/release question

2015-05-11 Thread France Baril
Hi, I am trying to find documentation on functions to explicitly lock/unlock specific files stored in BaseX for a predefined user. Something like: db:lock('db, 'file.xml', 'user', 'write') Something like: db:get-lock-details('db', 'file.xml') would be interesting too. I couldn't find anything. A

Re: [basex-talk] Basex Standalone : [bxerr:BXSQ0007] Could not initialize supplied driver: 'com.mysql.jdbc.Driver'

2015-05-11 Thread Christian Grün
Hi Jean-Marc, > I guess that it might be due to the fact that I don't know how to include > multiple jar while using with eclipse. I tried to go to > Windows/Preferences/XQUERY/Interpreters and set -classpath > {BaseXDirectory}\lib\*, but it does not work. You will probably have to include the li

[basex-talk] Basex Standalone : [bxerr:BXSQ0007] Could not initialize supplied driver: 'com.mysql.jdbc.Driver'

2015-05-11 Thread jean-marc Mercier
Hi, I am struggling to use Basex sql module together with Basex Standalone. I am getting the error : [bxerr:BXSQ0007] Could not initialize supplied driver: 'com.mysql.jdbc.Driver' The sql connection works finely while using the Basex server. I guess that it might be due to the fact that I don't

[basex-talk] EXPath package format

2015-05-11 Thread Andy Bunce
Hi, It appears the EXPath package format has changed. The current version of the spec reads: the root of the ZIP file contains a directory named *content*, containing the components and any other file the package needs. http://expath.org/spec/pkg#descriptor A previous version http://expath.org/

Re: [basex-talk] java.io.StreamClosed ignorable ?

2015-05-11 Thread Christian Grün
Hi, Could you help us to reproduce the issue? Thanks in advance, Christian On Mon, May 11, 2015 at 2:22 PM, wrote: > Hello ! > > > > I have some java.io.IOException - Stream closed while performing updating > XQueries. Thez are logged in basexgui java console, but in GUI, xquery is > not int

[basex-talk] java.io.StreamClosed ignorable ?

2015-05-11 Thread cmarchand
Hello ! I have some java.io.IOException - Stream closed while performing updating XQueries. Thez are logged in basexgui java console, but in GUI, xquery is not interrupted, no error happens. Are these exceptions ignorables ? i.e. if process in GUI is not interrupted, is a fallback run and th