The UML specification is the guide here; although clumsily worded, there
is no doubt that [3] is a short form for [3..3].
Fix currently under test. Hopefully committed to master tonight.
REgards
Ed Willink
On 07/03/2013 08:57, Cedric Moonen wrote:
> Hello,
>
> This notation for the cardinality is accepted by the OCLinEcore editor:
>
> property value : ecore::EDouble[3];
>
> You would suppose that it resolves to a lower and a upper bound of 3
> but this is converted to 0 to 1 (so similar as a '?').
>
> IMHO, this syntax should either be refused (you have to specify
> [3..3]) or it should resolve to 3 for the lower and upper bounds.
> Cédric