Wrong and Incomplete FEEL grammar rule 52
Source: Red Hat ( Matteo Mortari)
Grammar rule 52 is using single quote notation, and I believe this is just a typo when submitting the original change.
However DMNv1.3 also missed to exclude grammar 52 from defining Literal terminal symbol.
This is a concerning problem.
This implies rule 52 as defined in DMNv1.3 is defining additional Literal terminal symbol(s) and therefore with DMNv1.3 it is no longer formally possible to name a DRGElement for example: "list of products" or "context of business".
I believe this is an oversight in backward compatibility:
- rule 52 is only used for the technical “instance of” operator which may find limited use by business analysts
- using as a name “list …” or “context …” might be more relevant and wide-spread used, ref examples above
The proposal below addresses this problem as well, making DMNv1.3+ backward compatible again
A total of 2 changes.
With reference to DMNv1.3 dtc-19-12-06
Chapter 10.3.1.2 Grammar rules Page 121
Chapter 10.3.1.4 Tokens, Names, and White space Page 122
before bullet point:
* A sequence conforming to grammar rule 28, 29, 35, or 37
insert new bullet point:
* for backward compatibility reasons, “list” and “context” from grammar rule 52 are not considered Literal terminal symbols.
Reported: DMN 1.3 — Wed, 8 Apr 2020 07:20 GMT
Updated: Wed, 18 Nov 2020 00:45 GMT