Inconsistency DMNv1.2 dropping [a]=a and get entries example
Source: Red Hat ( Matteo Mortari)
Since DMNv1.2 the spec dropped the equivalence of:
because it does not apply to the statement that
a singleton list L, when used in an expression where a list is not expected, behaves as if L is written.
So the expression
on DMNv1.2 is expected to return false.
However, in section 10.3.2.6 Context of the spec, it provides the following statement for the get entries function:
To retrieve a list of key,value pairs from a context m, the following built-in function may be used: get entries(m).
For example, the following is true:
according to DMNv1.2 should be false
By the same principle that the DMNv1.2 for the following literal expression:
on DMNv1.2 is expected to be false
Reported: DMN 1.2b1 — Wed, 30 Jan 2019 14:43 GMT
Updated: Wed, 15 Dec 2021 21:12 GMT