spdx / spdx-spec

The SPDX specification in MarkDown and HTML formats.
https://spdx.github.io/spdx-spec/
Other
291 stars 140 forks source link

How to list multiple WITH exceptions #479

Open capfei opened 4 years ago

capfei commented 4 years ago

I came across this license and wasn't sure how it should be listed since it has two exceptions: a linking exception and the Universal FOSS exception. https://downloads.mysql.com/docs/licenses/connector-net-8.0-gpl-en.pdf

My first response was <LICENSE> WITH <EXCEPTION1> AND WITH <EXCEPTION2>, but then I wasn't sure if using parenthesis is correct: <LICENSE> WITH (<EXCEPTION1> AND <EXCEPTION2>).

Can someone let me know what is the correct way to list this one? Thank you!

goneall commented 4 years ago

@capfei Good issue - I don't think the current syntax supports more than one WITH. I know that the tools I wrote don't currently support this scenario.

You can just create a LicenseRef with the complete text as a work around.

Perhaps this is something we can add to the next revision of the spec (and to the tools).

My preference would be the <LICENSE> WITH (<EXCEPTION1> AND <EXCEPTION2>) syntax.

capfei commented 4 years ago

Thanks, @goneall! We'll go with that, for now.

goneall commented 6 months ago

Moving this to 3.1 for consideration.

cc: @swinslow