-
Notifications
You must be signed in to change notification settings - Fork 36
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
LicenseCompareHelper: Apache-1.0 & 1.1 license texts published by Apache not recognised #184
Comments
Note sure if this is useful (given the extraneous prefix and suffix text in the source text), but the "difference message" in the
|
I'm seeing the same behaviour with the |
This could be the same problem of dealing with multiple spaces when matching with a var rule as in spdx/license-list-XML#2264 and spdx/license-list-XML#2266. There are multiple spaces in point 5 and it has a var rule. |
I verified that replacing all new lines and multiple spaces by single spaces results in the Apache-1.1 text to be correctly identified but not the Apache-1.0 text. |
This should now be fixed with PR #221 |
Minor clarification: this is still failing, but that's due to spdx/license-list-XML#2259 and spdx/license-list-XML#2270 (i.e. PR #221 has fixed any Spdx-Java-Library specific problems involved in this behaviour). |
The license text for
Apache-1.1
published by Apache is not being recognised byorg.spdx.utility.compare.LicenseCompareHelper.isStandardLicenseWithinText()
.Note: tested with Spdx-Java-Library v1.1.7.
The text was updated successfully, but these errors were encountered: