Hi,
am I right in assuming that in order to use the XQJ interface as described here (https://docs.basex.org/wiki/Integrating_oXygen) , you will always need a running local database instance of BaseX? I am not able to use the BaseX.jar standalone in a transformation scenario as I would for example do in a custom ant scenario where I can use BaseX as a standalone transformer (using it as a commandline process).
Thanks, Daniel
Hi Daniel,
The “embedded” solution, which is mentioned in the documentation, refers to BaseX as standalone instance. I might change the wording to make this clearer.
Hope this helps, Christian
On Wed, Apr 21, 2021 at 11:29 AM Zimmel, Daniel D.Zimmel@esvmedien.de wrote:
Hi,
am I right in assuming that in order to use the XQJ interface as described here (https://docs.basex.org/wiki/Integrating_oXygen) , you will always need a running local database instance of BaseX? I am not able to use the BaseX.jar standalone in a transformation scenario as I would for example do in a custom ant scenario where I can use BaseX as a standalone transformer (using it as a commandline process).
Thanks, Daniel
Thanks Christian, this led me to reconfigure my connection - this helps, and works! Revisiting the documentation, I think the Wiki description is wrong:
Under "Driver class", choose the preferred driver class: Embedded (standalone): net.xqj.basex.BaseXXQDataSource Client/server: net.xqj.basex.local.BaseXXQDataSource
On my end, it definitely works the other way round: standalone = net.xqj.basex.local.BaseXXQDataSource
I am well aware of the limitations (so long XQuery 3.0), but being able to access the module functions in an Oxygen setting is quite useful indeed. Now I can make a comfortable button for an XML editor to produce a PDF report with Levenshtein distance markings. BaseX modules are fun.
Thanks, Daniel
-----Ursprüngliche Nachricht----- Von: Christian Grün christian.gruen@gmail.com Gesendet: Donnerstag, 22. April 2021 12:16 An: Zimmel, Daniel D.Zimmel@ESVmedien.de Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] BaseX and Oxygen scenario
Hi Daniel,
The “embedded” solution, which is mentioned in the documentation, refers to BaseX as standalone instance. I might change the wording to make this clearer.
Hope this helps, Christian
On Wed, Apr 21, 2021 at 11:29 AM Zimmel, Daniel D.Zimmel@esvmedien.de wrote:
Hi,
am I right in assuming that in order to use the XQJ interface as described here (https://docs.basex.org/wiki/Integrating_oXygen) , you will always need a running local database instance of BaseX? I am not able to use the BaseX.jar standalone in a transformation scenario as I would for example do in a custom ant scenario where I can use BaseX as a standalone transformer (using it as a commandline process).
Thanks, Daniel
…so true. Thanks for letting me know.
On Thu, Apr 22, 2021 at 1:48 PM Zimmel, Daniel D.Zimmel@esvmedien.de wrote:
Thanks Christian, this led me to reconfigure my connection - this helps, and works! Revisiting the documentation, I think the Wiki description is wrong:
Under "Driver class", choose the preferred driver class: Embedded (standalone): net.xqj.basex.BaseXXQDataSource Client/server: net.xqj.basex.local.BaseXXQDataSource
On my end, it definitely works the other way round: standalone = net.xqj.basex.local.BaseXXQDataSource
I am well aware of the limitations (so long XQuery 3.0), but being able to access the module functions in an Oxygen setting is quite useful indeed. Now I can make a comfortable button for an XML editor to produce a PDF report with Levenshtein distance markings. BaseX modules are fun.
Thanks, Daniel
-----Ursprüngliche Nachricht----- Von: Christian Grün christian.gruen@gmail.com Gesendet: Donnerstag, 22. April 2021 12:16 An: Zimmel, Daniel D.Zimmel@ESVmedien.de Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] BaseX and Oxygen scenario
Hi Daniel,
The “embedded” solution, which is mentioned in the documentation, refers to BaseX as standalone instance. I might change the wording to make this clearer.
Hope this helps, Christian
On Wed, Apr 21, 2021 at 11:29 AM Zimmel, Daniel D.Zimmel@esvmedien.de wrote:
Hi,
am I right in assuming that in order to use the XQJ interface as described here (https://docs.basex.org/wiki/Integrating_oXygen) , you will always need a running local database instance of BaseX? I am not able to use the BaseX.jar standalone in a transformation scenario as I would for example do in a custom ant scenario where I can use BaseX as a standalone transformer (using it as a commandline process).
Thanks, Daniel
basex-talk@mailman.uni-konstanz.de