You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to configure the parser to correctly parse a .spdx document with multiple PackageSupplier lines?
Not currently - the spec states a maximum of one supplier. The reason for restricting to a single supplier is to avoid any ambiguous suppliers.
In SPDX 3.0 we are adding a new property that can hold "additional suppliers" but there will still be only one "primary supplier". So, I think SPDX 3.0 will solve this scenario.
I'll create a pull request to remove the extra PackageSupplier so that the examples parse correctly.
File: https://github.com/spdx/spdx-examples/blob/master/example6/spdx2.2/example6-lib.spdx#L16
Error when trying to parse:
Only one PackageSupplier allowed, extra at line: 16
SPDX 2.3 spec for the PackageSupplier field specifies "Single line of text with one of the following: ..."
Is there any way to configure the parser to correctly parse a
.spdx
document with multiplePackageSupplier
lines?The text was updated successfully, but these errors were encountered: