spdx / spdx/spdx-java-tagvalue-store

Validator does not check the correct case of properties

Open
#22 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
Java
Stars
3
Forks
1
Avg merge
4d 6h
Merged PRs (30d)
3

Description

I have a tag-value file that contains the following line:

FilesAnalyzed: False

The validator tells me that the file is correct.

Since tags and format properties are case sensitive (SPDX 2.2, section 1.7.7), the correct value is false and the validator should have told that the file is incorrect.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the validator handling the tag-value property FilesAnalyzed and trace how its boolean value is checked. Use the reported FilesAnalyzed: False example as a regression case; done means the validator rejects it because the case-sensitive value must be false under SPDX 2.2 section 1.7.7.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.