Page 1 of 1
Integrate BaseX into oXygen XML Editor
Posted: Tue Aug 08, 2023 4:42 am
by Graydon2014
I would like to be able to use oXygen XML Editor to write, run, and debug XQuery against the BaseX XML database from
https://basex.org/
I would like this to include the full scope of BaseX modules (full text, higher order functions, etc.) as well as XQuery 3.1 (and eventually XQuery 4).
I would like some reasonably current version of BaseX to ship with oXygen XML Editor.
I would like to be able to do the full CRUD set of XML database functionality from inside oXygen XML Editor.
BaseX is open source, written in Java, small (< 10 MB) and reasonably documented, so this seems to be like a technically plausible ask. It's also far and away the best XQuery processor I know of, since it's nigh-complete against the XQuery 3.1 spec and highly performant.
Why would you want to? XQuery has something of a chicken-and-egg problem; it'd be great to use if people could use it. If they can use it, it solves many legibility problems for large XML content sets that don't have effective alternative solutions. Providing a way to use XQuery ought to wedge open the door to a market.
Re: Integrate BaseX into oXygen XML Editor
Posted: Tue Aug 08, 2023 12:00 pm
by alex_jitianu
Hi,
There is an Oxygen plugin developed by Axxepta that that provides inside Oxygen:
https://github.com/axxepta/project-argon
http://argon-author.com/
I suggest giving it a test and see how it performs against your requirement. It has quite a lot of feature.
I've also added your vote for an internal BaseX support inside Oxygen.
Best regards,
Alex
Re: Integrate BaseX into oXygen XML Editor
Posted: Tue Aug 08, 2023 2:20 pm
by Graydon2014
Hi Alex --
While that plugin does look interesting, I observe that the gitHub repository hasn't been updated in five years and that the plugin is unsigned.
Putting myself in a position where I have to explain why I installed something unsigned on a work machine isn't something I would want to do.
Might there be an appropriate way for other people to express interest in adding internal support for BaseX in oXygen?
Thanks!
Graydon
Re: Integrate BaseX into oXygen XML Editor
Posted: Tue Aug 08, 2023 4:16 pm
by alex_jitianu
Hi Graydon,
Whenever people ask us for a feature, on the forum, on our support email address or when we meet them in person during conferences, we add their vote for the feature and we increase its priority. Because our development resources are limited, there is always a challenge to weight and decide which feature should be included in the roadmap.
I observe that the gitHub repository hasn't been updated in five years and that the plugin is unsigned.
We used to meet the Axxepta team quite frequently during conferences and there was a time when they develop intensively the plugin. Perhaps now they consider it mature enough. If you write an email on
support@oxygenxml.com I can try and put you in contact with them.
Signing the plugin requires a certificate issued by a trusted authority. If a company doesn't have such a certificate already for other reasons, unfortunately it is a slim chance for it to purchase such a certificate only for signing an Oxygen addon.
Best regards,
Alex
Re: Integrate BaseX into oXygen XML Editor
Posted: Tue Aug 08, 2023 4:38 pm
by Graydon2014
Hi Alex --
Thank you! Appreciate the clarity on the weighting process.
It wouldn't be possible for me to advocate for an unsigned anything in a work context, is what I was trying to get at there. (Nor do I think it ought to be.)
Thank you!
Graydon
Re: Integrate BaseX into oXygen XML Editor
Posted: Sun Nov 16, 2025 2:08 pm
by cwittern
This is a two year old post, so I would like to know what the situation with BaseX integration is? I would very much like to use oXygen in the same way with BaseX as I use it with eXist.
All the best,
Christian
Re: Integrate BaseX into oXygen XML Editor
Posted: Mon Nov 17, 2025 7:49 am
by Radu
Hi Christian,
For now we have no plans to create such an integration ourselves. If a third party wants to, Oxygen has APIs which would allow plugins to be built for this.
Regards,
Radu
Re: Integrate BaseX into oXygen XML Editor
Posted: Tue Nov 18, 2025 3:41 am
by cwittern
Dear Radu,
Thank you for your reply. This is unfortunate, but I guess you have reasons to do so.
I think I can execute XQuerys with BaseX over a command line from oXygen without too much problems, the real question is the validation.
Can you point me to places where to start an investigation of how to get this going?
All the best,
Christian
P.S. I just realized my first post in this forum was 20 years ago. You have come along quite a bit in all these years, and I really have to thank you for creating such a great tool!
Re: Integrate BaseX into oXygen XML Editor
Posted: Tue Nov 18, 2025 7:34 am
by Radu
Hi Christian,
the real question is the validation.
Can you point me to places where to start an investigation of how to get this going?
We have an API which would allow a plugin to add or remove errors when an opened document is being validated.
An example of using this APi from a Javascript plugin which uses Oxygen's Java APIs to remove certain validation problems:
https://github.com/oxygenxml/wsaccess-j ... lemsFilter
I just realized my first post in this forum was 20 years ago. You have come along quite a bit in all these years, and I really have to thank you for creating such a great tool!
Thanks for the kind words! I see I joined the forum about 21 years ago
Regards,
Radu