add-on update site xt:version status

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

add-on update site xt:version status

Post by bwbohl » Tue Dec 05, 2017 11:14 am

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 v18.1
macOS Sierra 10.12.6

alex_jitianu
Posts: 699
Joined: Wed Nov 16, 2005 11:11 am

Re: add-on update site xt:version status

Post by alex_jitianu » Tue Dec 05, 2017 4:22 pm

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: 23
Joined: Mon Jan 23, 2017 11:20 am

Re: add-on update site xt:version status

Post by bwbohl » Thu Dec 07, 2017 4:24 am

Thanks for adding the issue ;-)
=====
oXygen XML Editor v18.1
macOS Sierra 10.12.6

Post Reply