spdx / LicenseListPublisher

Tool that generates license data found in the license-list-data repository from the license-list-XML source
Apache License 2.0
11 stars 18 forks source link

CrossRef Match is not always a valid boolean #76

Closed goneall closed 3 years ago

goneall commented 4 years ago

The crossRef match should be either true or false to be easily parsed.

In some cases, -- is the value.

For example, in the EUPL-1.2.json file:

{url: https://joinup.ec.europa.eu/sites/default/files/inline-files/EUPL%20v1_2%20EN(1).txt,isValid: false,isLive: false,isWayBackLink: false,match: --,timestamp: 2020-09-04 - 15:25:59}"
goneall commented 3 years ago

For invalid references, neither true or false is valid. Updated code in PR #82 to use "N/A" rather than "--"