Skip to content

docs: recommend exact casing for DocumentRef-, LicenseRef-, and AdditionRef- prefixes (#1505) - #1507

Open
ShivanshhhG wants to merge 2 commits into
spdx:developfrom
ShivanshhhG:fix-1505-license-expression-ref-casing
Open

ShivanshhhG wants to merge 2 commits into
spdx:developfrom
ShivanshhhG:fix-1505-license-expression-ref-casing

Conversation

@ShivanshhhG

Copy link
Copy Markdown

Description

In #1475, recommendations for license expression casing were introduced. As discussed in #1505 by @bernhardreiter and @swinslow, the recommendation covered operators, special identifiers, and license/exception identifiers from the License List, but omitted explicit recommendations for the user-defined and external reference prefixes (DocumentRef-, LicenseRef-, and AdditionRef-).

This PR clarifies the case-sensitivity recommendations in docs/annexes/spdx-license-expressions.md to explicitly recommend using the exact casing for DocumentRef-, LicenseRef-, and AdditionRef- prefixes.

Fixes #1505

…ionRef- prefixes (spdx#1505)

Clarify in the License Expression Annex case-sensitivity guidelines that,
in addition to using the exact casing for license and exception identifiers
from the License List and all uppercase for operators/special identifiers,
it is also recommended to use the exact casing for the 'DocumentRef-',
'LicenseRef-', and 'AdditionRef-' prefixes.

Fixes spdx#1505

Signed-off-by: SHIVANSH-ux-ys <singaser78@gmail.com>
@bact
bact requested a review from zvr October 27, 2026 12:27
@bact
bact requested a review from swinslow October 27, 2026 12:27
@zvr zvr added this to the 3.1 milestone Oct 27, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

License-Expressions: Clarify that it is recommended to use the casing of "DocumentRef-" and "LicenseRef-"

3 participants