Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version attribute of SSP 2.0 does not allow to import SSP 1.0 files #41

Closed
UKiffmeier opened this issue Sep 13, 2024 · 1 comment · Fixed by #44
Closed

Version attribute of SSP 2.0 does not allow to import SSP 1.0 files #41

UKiffmeier opened this issue Sep 13, 2024 · 1 comment · Fixed by #44
Assignees
Milestone

Comments

@UKiffmeier
Copy link

The result of #39 was that the SSP 2.0 schema is compatible to the SSP 1.0 schema with the only exception, that it does not allow the value "1.0" for the SystemStructureDescription.version attribute.

This means that the version attribute in existing SSD 1.0 files must be changed to "2.0-alpha", or later "2.0".

In many cases, it is not wanted, that an existing SSP 1.0 file (possibly under version control) must be changed and an SSP 1.0 container must be re-generated to be used in a SSP 2.0 tool.

Therefore, the proposal is to change the pattern for the SSP 2.0 version attribute from

2[.][0-9]+(-.+)

to

[1-2][.][0-9]+(-.+)?

This new pattern allows "1.0", "2.0", "2.0-alpha" and makes the postfix optional.

@pmai pmai added this to the 2.0 milestone Sep 13, 2024
@pmai pmai self-assigned this Sep 13, 2024
@pmai
Copy link
Collaborator

pmai commented Sep 13, 2024

Yes this would be the goal after we have now verified the backward compatibility, and we go to the release (and the postfix would then be prohibited, to not accidentally accept non-released files). Prior to release the prefix is required, to prevent accidents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants