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

Tag / value enumeration values for Reference Category a "-" should be converted to "_" #16

Closed
goneall opened this issue Apr 8, 2021 · 3 comments

Comments

@goneall
Copy link
Member

goneall commented Apr 8, 2021

Example - reference category PACKAGE-MANAGER should be converted to the enum PACKAGE_MANAGER when deserializing and converted back to the dash when serializing.

@goneall goneall changed the title Tag / value enumeration values containing a "-" should be converted to "_" Tag / value enumeration values for Reference Category a "-" should be converted to "_" Jun 19, 2021
@goneall
Copy link
Member Author

goneall commented Jun 19, 2021

In reviewing the spec, only Reference Category uses dashes.

@goneall
Copy link
Member Author

goneall commented Jun 19, 2021

Based on spdx/spdx-spec#473 comments, closing this issue as the decision in the SPDX Spec issue is to leave the serialization as is.

@goneall goneall closed this as completed Jun 19, 2021
@goneall
Copy link
Member Author

goneall commented Jun 19, 2021

Note that I made changes in a branch named issue16 if we change our minds and would like to convert underscrores to dashes in the serialization.

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

No branches or pull requests

1 participant