Hi Philippe (and others interested ;-) )
Here is the revised syntax for ABNF, please let us knowif there are any
concerns.
license-id = <short form license identifier in Appendix
I.1>license-exception-id = <short form license exception identifier in
Appendix I.2>license-ref = "LicenseRef-"1*(ALPHA / DIGIT / "-" / "."
) simple-expression = license-id / license-id”+” / license-ref
compound-expression = 1*(simple-expression / simple-expression
"WITH" license-exception-id / compound-expression “AND"
compound-expression / compound-expression “OR"
compound-expression ) / “(“ compound-expression “)” )
license-expression = 1*1(simple-expression / compound-expression)
Thanks, Kate
On Wednesday, April 15, 2015 1:57 PM, "[email protected]"
<[email protected]> wrote:
Hi Phillipe, Discussion is around making the "(" ")" optional around the
WITH. Not adding exception keyword - typo on my part there. ;-)
Will post the revised version after Mark and I get together on Friday.
Kate
On Wednesday, April 15, 2015 1:37 PM, Philippe Ombredanne
<[email protected]> wrote:
On Tue, Apr 14, 2015 at 7:20 PM, <[email protected]> wrote:
> Problem point is
>
> "WITH"
>
> I don't think we want to force "(GPL-2.0+ with bison-exception)"
> but rather "GPL-2.0+ with bison exception"
Sorry if I jump the gun before you posted anything more detailed....
Did you mean making the parenthesis optional: I would say yes for
sure, any expression that is not ambiguous should not require
parenthesis.
Or did you mean that we should add the word "exception" as a qualifier
as in "<license-id> with <license-exception-id> exception"
If so I am not sure this would be warranted. The id for an exception
could be anything, but we could have the convention for SPDX-provided
exceptions IDs to suffix them with
-exception for clarity, though that would not be needed just a nice to
have. IMHO adding the keyword "exception" would be redundant with the
"with" keyword.
--
Cordially
Philippe Ombredanne
_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech
_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech