The current implementation has an arbitrary limitation that an expression with and, or or with keywords that are part of a license name and not part a keyword of the expression would not parse nor resolve correctly.
Now this limitation does not need to exist as when a list of LicenseRef is provided that is otherwise not ambiguous (e.g. with no name resolving to more than one license key) the parsing is not ambiguous.
So I propose to update this to handle properly expressions with such licenses. This would work only when resolution on parsing is requested or when resolution is requested AND that license references are provided.
The current implementation has an arbitrary limitation that an expression with
and,ororwithkeywords that are part of a license name and not part a keyword of the expression would not parse nor resolve correctly.Now this limitation does not need to exist as when a list of LicenseRef is provided that is otherwise not ambiguous (e.g. with no name resolving to more than one license key) the parsing is not ambiguous.
So I propose to update this to handle properly expressions with such licenses. This would work only when resolution on parsing is requested or when resolution is requested AND that license references are provided.