spdx / spdx/spdx-java-tagvalue-store
Multiple values for PackageSupplier not flagged as invalid
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3
- Forks
- 1
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 3
Description
PackageSupplier: Person: Michael Hudson-Doyle
PackageSupplier: Organization: Canonical Ltd.
python tools flags it as invalid:
pyspdxtools -i example6-lib.spdx
ERROR:root:There have been issues while parsing the provided document:
Error while parsing Package: ['Multiple values for PackageSupplier found. Line: 16']
java tools do not:
This SPDX Document is valid.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the attached example6-lib.spdx.txt through the Java tag/value store and compare its PackageSupplier handling with the reported pyspdxtools result. Trace the PackageSupplier parsing and validation entry point; done means the duplicate values are rejected consistently and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100