I tried to convert a CycloneDX file that contains some non-SPDX-compliant licenses that were already called "LicenseRef-Proprietary" in the CDX file. cdx2spdx (version 0.1.5) seems to not handle that situation well because it prefixes it with another "LicenseRef". Maybe it could check if the license name is already SPDX-compliant.
This is part of the output (see the duplicate "LicenseRef" prefix):
Thanks @fschoenm - agree with your suggestion. I'm working on upgrading the utility to support the SPDX 3.0 spec - after that, I'll look into implementing your suggestion.
I tried to convert a CycloneDX file that contains some non-SPDX-compliant licenses that were already called "LicenseRef-Proprietary" in the CDX file. cdx2spdx (version 0.1.5) seems to not handle that situation well because it prefixes it with another "LicenseRef". Maybe it could check if the license name is already SPDX-compliant.
This is part of the output (see the duplicate "LicenseRef" prefix):