add-on update site xt:version status

Post here questions and problems related to oXygen frameworks/document types.
bwbohl
Posts: 17

add-on update site xt:version status

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: 601

Re: add-on update site xt:version status

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: 17

Re: add-on update site xt:version status

Thu Dec 07, 2017 4:24 am

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

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 2 guests