Hello Peter,

As I understand, these identifiers are the same.

In Annex D.2 “Case sensitivity” of SPDX 3.0, the text is exactly the same as in 
SPDX 2.2 and 2.3, except for the first paragraph, which is nor relevant here 
(the difference between SPDX 2 and 3 being that SPDX 3 allows both upper-case 
and lower-case operators).

And in SPDX 2, the identifiers are the same.

The Java tools treat them as identical, see comment by Gary in 
https://github.com/spdx/tools-java/issues/143

But that makes me ask another related question: is 
licenseref-my-tool-some-identifier valid?
I think not, but that should be clarified.

Best regards,

Marc-Etienne

--
Marc-Etienne Vargenau 
[email protected]<mailto:[email protected]>
Nokia, 12, rue Jean-Bart, 91300 Massy, FRANCE
Mobile: +33 6 24 49 78 68<tel:+33624497868>
Senior Specialist Open Source
Planned absence: none


De : [email protected] <[email protected]> de la part de Peter 
Monks via lists.spdx.org <[email protected]>
Date : vendredi, 14 juin 2024 à 21:39
À : [email protected] <[email protected]>
Objet : [spdx-tech] Case sensitivity of LicenseRefs / AdditionRefs?


Hi everyone,
I was just dealing with a corner case in my code concerning LicenseRefs (and 
the same question also applies to SPDX 3.0 AdditionRefs), and Annex D of the 
specification [1] didn't clarify it for me (and perhaps could be clarified to 
do so, once we know the answer).

Basically my question boils down to: are LicenseRefs / AdditionRefs that only 
differ by case identical?

For example, are these two LicenseRefs identical or different?

  1.  LicenseRef-my-tool-some-identifier
  2.  LicenseRef-My-Tool-Some-Identifier
Thanks in advance!
Peter

[1] https://spdx.github.io/spdx-spec/v3.0/annexes/SPDX-license-expressions/





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5666): https://lists.spdx.org/g/Spdx-tech/message/5666
Mute This Topic: https://lists.spdx.org/mt/106677011/21656
Group Owner: [email protected]
Unsubscribe: https://lists.spdx.org/g/Spdx-tech/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


  • [spdx-... Peter Monks
    • R... Vargenau, Marc-Etienne (Nokia - FR/Paris-Saclay) via lists.spdx.org
    • R... Vargenau, Marc-Etienne (Nokia - FR/Paris-Saclay) via lists.spdx.org

Reply via email to