Are SPDX license identifiers case-sensitive?

License *expressions* are not case-sensitive (e.g., the AND, OR, and WITH), per 
here:
http://wiki.spdx.org/view/LicenseExpressionFAQ#Is_the_License_Expression_Syntax_Case_Sensitive.3F

But that doesn't tell me about license *identifiers*.  I've been presuming that 
they are case-sensitive, because:
* "GPL-2.0" and "Apache-2.0" are both license identifiers, and clearly upper & 
lower case are used.  Usually case-insensitive info sticks to one case.
* The license identifiers *do* retain their case where in the URLs distributed 
by OSI: http://opensource.org/licenses
* The spec https://spdx.org/SPDX-specifications/spdx-version-2.0 section 1.6.8: 
says "Tags and RDF properties are case sensitive". But that's not a slam-dunk; 
clearly tags could be case-sensitive, while license IDs not case-sensitive.

I ask because the "licensee" Ruby gem analyzes a license file to quickly 
determine a license: https://github.com/benbalter/licensee
I intend to use it, however, it returns a *lowercase-only* value for the 
license name, which isn't what the spec uses.  I'd like to provide exactly what 
the spec says, but if it doesn't matter, maybe I shouldn't worry.  I raised a 
question about it here:
https://github.com/benbalter/licensee/issues/72

Thanks.

--- David A. Wheeler

_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech

Reply via email to