Only the supplier field should be checked to determine if the supplier field is missing a value. Previously the code checked both the supplier and the originator fields, on the mistaken assumption that either field counted as the package supplier. Oops.
THIS IS A BREAKING CHANGE.
I revised the test suite substantially since this was a logic error. Many test SBOM documents needed a minor tweak.
Fix #157
Only the supplier field should be checked to determine if the supplier field is missing a value. Previously the code checked both the supplier and the originator fields, on the mistaken assumption that either field counted as the package supplier. Oops.
THIS IS A BREAKING CHANGE.
I revised the test suite substantially since this was a logic error. Many test SBOM documents needed a minor tweak.