Re: capitalization rules for SPDX license ids and operators


I think I may have received this email in error.

On Wed, Jul 28, 2021 at 09:59 J Lovejoy <opensource@...> wrote:
Hi Legal, Tech teams,

I just want to clarify my understanding of capitalization sensitivity for SPDX license ids and license expression operators:

Appendix IV states:
License expression operators (AND, OR and WITH) should be matched in a case-sensitive manner.

License identifiers (including license exception identifiers) used in SPDX documents or source code files should be matched in a case-insensitive manner. In other words, MIT, Mit and mIt should all be treated as the same identifier and referring to the same license.

However, please be aware that it is often important to match with the case of the canonical identifier on the SPDX License List. This is because the canonical identifier's case is used in the URL of the license's or exception's entry on the List, and because the canonical identifier is translated to a URI in RDF documents.

I'm wondering - was there a particular reason that the license expression operators are case-sensitive (while the license ids are not)?



James L. Royer 

275 Turk Street, San Francisco, CA  94102  
E: jroyer6308@... | P: (415) 685-7030

Join { to automatically receive all group messages.