Issue 19201: Incorrect ModelType.additionalCondition multiplicity (qvt-rtf) Source: Model Driven Solutions (Dr. Edward Willink, ed(at)willink.me.uk) Nature: Clarification Severity: Minor Summary: The EBNF: <modeltype> ::= 'modeltype' <identifier> <compliance_kind>? 'uses' <packageref_list> <modeltype_where>? ';' <modeltype_where> ::= 'where' <expression_block> allows only a single where which may be a BlockExp, so ModelType.additionalCondition should be [0..1] rather than [*]. Resolution: Incorrect ModelType.additionalCondition multiplicity The EBNF: <modeltype> ::= 'modeltype' <identifier> <compliance_kind>? 'uses' <packageref_list> <modeltype_where>? ';' <modeltype_where> ::= 'where' <expression_block> allows only a single where which may be a BlockExp, so ModelType.additionalCondition should be [0..1] rather than [*]. Discussion Yes, but <expression_block> ::= '{' <expression_list>? '}' which allows for the multiple expressions. The multiple expressions could be shown more clearly by flattening as: <modeltype> ::= 'modeltype' <identifier> <compliance_kind>? 'uses' <packageref_list> ('where' '{' <expression_list>? '}')? ';' But in the absence of a CS2AS mapping, implementations are not obliged to create the inappropriate BlockExp. Revised Text: Actions taken: January 30, 2014: received issue December 22, 2015: Closed; No Change March 29, 2016: closed issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 30 Jan 2014 05:29:41 -0500 To: Subject: Issue/Bug Report ******************************************************************************* Name: Edward Willink Employer: mailFrom: ed@willink.me.uk Terms_Agreement: Specification: QVT Section: 8.2.1.6 FormalNumber: 11-01-01 Version: 1.1 Doc_Year: 2011 Doc_Month: January Doc_Day: 01 Page: 85 Title: Incorrect ModelType.additionalCondition multiplicity Nature: Clarification Severity: Minor CODE: 3TMw8 B1: Report Issue Remote Name: edwillink.plus.com Remote User: HTTP User Agent: Mozilla/5.0 (Windows NT 6.0; rv:26.0) Gecko/20100101 Firefox/26.0 Time: 05:29 AM Description: The EBNF: ::= 'modeltype' ? 'uses' ? ';' ::= 'where' allows only a single where which may be a BlockExp, so ModelType.additionalCondition should be [0..1] rather than [*].