Skip to content

Commit

Permalink
Redoing changes to the annex
Browse files Browse the repository at this point in the history
Signed-off-by: Alexios Zavras <github@zvr.gr>
  • Loading branch information
zvr authored and goneall committed Aug 10, 2024
1 parent 4e3c20e commit e232c0e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/annexes/SPDX-license-expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ The exact syntax of license expressions is described below in ABNF, as defined i
```text
idstring = 1*(ALPHA / DIGIT / "-" / "." )
license-id = <short form license identifier in Annex A.1>
license-id = <short form license identifier from SPDX License List>
license-exception-id = <short form license exception identifier in Annex A.2>
license-exception-id = <short form license exception identifier from SPDX License List>
license-ref = [%s"DocumentRef-"(idstring)":"]%s"LicenseRef-"(idstring)
Expand Down Expand Up @@ -56,11 +56,9 @@ License identifiers (including license exception identifiers) used in SPDX docum

However, please be aware that it is often important to match with the case of the canonical identifier on the [SPDX License List](https://spdx.org/licenses). 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.

For license identifiers, only the variable part (after `LicenseRef-`) is case insensitive.
For user defined license identifiers, only the variable part (after `LicenseRef-`) is case insensitive. This means, for example, that `LicenseRef-Name` and `LicenseRef-name` should be treated as the same identifier and considered to refer to the same license, while `licenseref-name` is not a valid license identifier.

This means, for example, that `LicenseRef-Name` and `LicenseRef-name` should be treated as the same identifier and considered to refer to the same license, while `licenseref-name` is not a valid license identifier.

The same applies to `AdditionRef-`.
The same applies to `AdditionRef-` user defined identifiers.

## D.3 Simple license expressions <a name="D.3"></a>

Expand Down

0 comments on commit e232c0e

Please sign in to comment.