spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

relax valid character restriction in names

Open zvr opened this issue 5 years ago • 2 comments

[idstring] is a unique string containing letters, numbers, ., - and/or +.

Do we have a reason to not allow a more extensive set of characters?

I propose we also allow _:/#

zvr avatar Jul 10 '20 14:07 zvr

We use : for parsing document ID for external document references.

Adding _ seems quite reasonable and useful.

We may want to reserve some additional special characters for future use, so I'm a bit more reluctant to add #.

goneall avatar Jul 10 '20 16:07 goneall

Request has been made from Yocto group to allow "+" character as well, as it's used in library names.

kestewart avatar Aug 10 '22 03:08 kestewart

I believe this is different enough in 3.0 we can close this issue.

@zvr @kestewart if you disagree, please re-open or open a more specific issue.

goneall avatar Apr 04 '24 17:04 goneall