BaseX and Oxygen scenario
Wednesday, 21 April 2021 · 4 messages · last reply 22 Apr 2021
ZD
Zimmel, Daniel21 Apr 2021 11:29 #
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
CG
Christian Grün22 Apr 2021 12:16 #
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
Quoted text · Daniel · 9 lines
On Wed, Apr 21, 2021 at 11:29 AM Zimmel, Daniel <D.Zimmel at 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 >
ZD
Zimmel, Daniel22 Apr 2021 13:48 #
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
Quoted text · Christian Grün · 19 lines
-----Ursprüngliche Nachricht----- Von: Christian Grün <christian.gruen at gmail.com> Gesendet: Donnerstag, 22. April 2021 12:16 An: Zimmel, Daniel <D.Zimmel at ESVmedien.de> Cc: basex-talk at 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 at 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 >
CG
Christian Grün22 Apr 2021 17:51 #
…so true. Thanks for letting me know.
Quoted text · Daniel · 41 lines
On Thu, Apr 22, 2021 at 1:48 PM Zimmel, Daniel <D.Zimmel at 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 at gmail.com> > Gesendet: Donnerstag, 22. April 2021 12:16 > An: Zimmel, Daniel <D.Zimmel at ESVmedien.de> > Cc: basex-talk at 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 at 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 > >
Written for BaseX 9.5. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery