add-on update site xt:version status

Post here questions and problems related to oXygen frameworks/document types.
bwbohl
Posts: 37
Joined: Mon Jan 23, 2017 11:20 am

add-on update site xt:version status

Post by bwbohl »

The oXygen extension schema has the xt:verison for encoding the version of an add-on.
While this field only allows "\d+.\d+.\d+." a version numeral can be much more complex. at least a status suffix like "-alpha" or "-beta" should be allowed, alas build information or the like.
My favourite versioning system is https://semver.org

What about adding those possibilities to the xt:version?
If I enter a more complex version like those described on the website I provided, would it break something (besides rendering the Add-ons update site file invalid?

any thanks,
Benjamin
=====
oXygen XML Editor v24.1
macOS Monterey 12.3.1 Apple Silicon
alex_jitianu
Posts: 1009
Joined: Wed Nov 16, 2005 11:11 am

Re: add-on update site xt:version status

Post by alex_jitianu »

Dear Benjamin,
If I enter a more complex version like those described on the website I provided, would it break something (besides rendering the Add-ons update site file invalid?
Unfortunately, an invalid update site will not be loaded so the user can't install anything from it.

I will add an issue to update the xt:version to permit more complex versions. A compatibility problem will remain, though. Update sites that contain such complex versions will not be loaded in previous Oxygen versions... I guess we shouldn't have made the error handling so draconian...

Thank
bwbohl
Posts: 37
Joined: Mon Jan 23, 2017 11:20 am

Re: add-on update site xt:version status

Post by bwbohl »

Thanks for adding the issue ;-)
=====
oXygen XML Editor v24.1
macOS Monterey 12.3.1 Apple Silicon
Post Reply