spdx / spdx/spdx-java-tagvalue-store
Invalid tag:value SPDX file is valid according to tools-java
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3
- Forks
- 1
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 3
Description
File bug.spdx is invalid according to tools-python:
pyspdxtools -i bug.spdx
ERROR:root:There have been issues while parsing the provided document:
Element Package is not the current element in scope, probably the expected tag to start the element (PackageName) is missing. Line: 32
tools-java does not detect it as invalid
tools-java release 1.1.8
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 with the attached bug.spdx file and reproduce its behavior using tools-java release 1.1.8, comparing it with the tools-python error at line 32. The issue is complete when tools-java identifies the invalid tag:value structure rather than accepting the document.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100