license-list-XML icon indicating copy to clipboard operation
license-list-XML copied to clipboard

MS-LPL XML should accommodate 'and' instead of '&' in last section

Open richardfontana opened this issue 3 years ago • 3 comments

Section 3(F) of the SPDX version of MS-LPL says: "(F) Platform Limitation- The licenses granted in sections 2(A) & 2(B) extend only to the software or derivative works that you create that run on a Microsoft Windows operating system product."

However, a number of uses of this license, including by Microsoft, use "2(A) and 2(B)" rather than "2(A) & 2(B)". https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/blob/v0.3/webrtc/LICENSE_THIRD_PARTY#L388 https://kb.acronis.com/system/files/content/2012/12/38416/mspublic.txt https://marketplace.visualstudio.com/items/MikeBMcL.WindowsStoreDirectXGameTemplate/license

As I understand it, "&" and "and" are not equivalent under the SPDX matching guidelines.

richardfontana avatar Oct 06 '22 00:10 richardfontana

thanks @richardfontana - good catch and I'm surprised we haven't come across this before.

@swinslow @goneall - would this be best dealt with via tag markup or could we add "&" and "and" to the list of equivalent words (even though & isn't a word really...)

jlovejoy avatar Oct 06 '22 01:10 jlovejoy

would this be best dealt with via tag markup or could we add "&" and "and" to the list of equivalent words (even though & isn't a word really...)

From a tooling perspective, the equivalent words are just text tokens, so making "&" and "and" equivalent would work.

goneall avatar Oct 06 '22 02:10 goneall

Thanks @goneall - I love when there is actually an easy answer.

Only problem is... out list of equivalent words is here, but I'm no longer sure how to update it? https://spdx.org/licenses/equivalentwords.txt

@swinslow probably knows this also...

jlovejoy avatar Oct 07 '22 01:10 jlovejoy

+1 to adding this to the "equivalent words" list.

This file lands in the License List website when I upload it as part of the release process, by copying it from license-list-data: https://github.com/spdx/license-list-data/blob/master/website/equivalentwords.txt

The "source" version is here in the license-list-XML repo, at https://github.com/spdx/license-list-XML/blob/main/equivalentwords.txt, and I assume that the License List Publisher tool pulls it over (though I haven't confirmed that).

I'll submit a PR to add this to the list!

swinslow avatar Nov 09 '22 21:11 swinslow

PR #1700 fixes this

jlovejoy avatar Nov 10 '22 05:11 jlovejoy