aboutcode-org / aboutcode-org/license-expression
Case-sensitive validation of license expressions?
Open
- Dominant language
- Python
- Stars
- 73
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
While the latest SPDX standard specifies that license identifiers should (mostly) be treated _case-insensitive_ (https://spdx.github.io/spdx-spec/v3.0.1/annexes/spdx-license-expressions/#case-sensitivity), I have a use case where we'd like to validate that all identifiers in an expression match with the case of the canonical identifier on the [SPDX License List](https://spdx.org/licenses). Is there a way to do this with `license-expression`, e.g, by somehow accessing the original token from the parsed `LicenseSymbol`?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.