Re: Is "+" a valid character of a LicenseRef idstring?


Gary O'Neall
 

Hi Philippe,

This + is a suffix and not a freestanding character, right?
So "GPL-2.0+" is valid but "GPL-2.0 +" would not be valid?
[Gary]
[Gary] My interpretation of the spec "GPL-2.0 +" and "GPL-2.0+" are both syntactically valid (as well as MIT+, LicenseRef-21+ and any other listed license ID or licenseRef). This is not any statement on the interpretation, just the license expression syntax (I'll leave the interpretation discussions to a separate thread).

In general, I would prefer any operator character(s) to be excluded from the allowed characters for a license reference to keep the parsing clear and easier to implement.

Gary

Join {Spdx-legal@lists.spdx.org to automatically receive all group messages.