Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update exception handling in convertTagValueToRdf to ignore error when InvalidFileFormatException is thrown. #104

Merged
merged 1 commit into from
Jul 29, 2017

Conversation

rtgdk
Copy link
Contributor

@rtgdk rtgdk commented Jul 29, 2017

It is possible that an RDF file can throw InvalidFileFormat or a tag Value file ( time-with-ascii-dependency.spdx - due to DocumentID instead of DocumentNamespace ) to throw InvalidSpdxTagFileException from BuildDocument.
So it is best to accumulate those error and show the user the final error as a mix of both tag value verification error and RDF verification error.

…n InvalidFileFormatException is thrown.

	* It is possible that an RDF file can throw InvalidFileFormat or a tag Value file to throw InvalidSpdxTagFileException from BuildDocument.
	* So it is best to accumulate those error and show the user the final error as a mix of both tag value verfication error and rdf verification error

Signed-off-by: rtgdk <rohit.lodhartg@gmail.com>
@goneall goneall merged commit 3390eb5 into spdx:master Jul 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants