-
Key: QVT13-1
-
Legacy Issue Number: 10934
-
Status: closed
-
Source: Model Driven Solutions ( Dr. Edward Willink)
-
Summary:
9.18 Undefined syntax
---------------------The syntax for TransformationName, DirectionName, MappingName, PropertyName and VariableName
is undefined. Presumably each of these is an Identifier (below) when defining, but a PathNameCS
when referencing.The syntax for PackageName is undefined. Presumably it is an OCL PathNameCS.
The syntax for ValueOCLExpr is undefined. This is presumably an OclExpressionCS.
The syntax for BooleanOCLExpr is undefined. This could be an OclExpressionCS of Boolean type but ...
The syntax for SlotOwnerOCLExpr is undefined. This could be an OclExpressionCS of Class type but ...
If BooleanOCLExpr and SlotOwnerOCLExpr are parsed as OclExpressionCS the 'default' prefix
causes a major ambiguity for 'default(...).xx' as a parenthesised slot owner or function call.
It is necessary to make 'default' a reserved word within OCL expressions.Suggest: define BooleanOCLExpr and SlotOwnerOCLExpr very narrowly.
Predicate ::= SimpleNameCS ("." SimpleNameCS)* "=" OclExpressionCS
Assignment ::= ["default"] SimpleNameCS ("." SimpleNameCS)* ":=" OclExpressionCS -
Reported: QVT 1.0 — Sun, 25 Mar 2007 04:00 GMT
-
Disposition: Duplicate or Merged — QVT 1.3
-
Disposition Summary:
Undefined syntax
9.18 Undefined syntax
---------------------The syntax for TransformationName, DirectionName, MappingName, PropertyName and VariableName
is undefined. Presumably each of these is an Identifier (below) when defining, but a PathNameCS
when referencing.The syntax for PackageName is undefined. Presumably it is an OCL PathNameCS.
The syntax for ValueOCLExpr is undefined. This is presumably an OclExpressionCS.
The syntax for BooleanOCLExpr is undefined. This could be an OclExpressionCS of Boolean type but ...
The syntax for SlotOwnerOCLExpr is undefined. This could be an OclExpressionCS of Class type but ...
If BooleanOCLExpr and SlotOwnerOCLExpr are parsed as OclExpressionCS the 'default' prefix
causes a major ambiguity for 'default(...).xx' as a parenthesised slot owner or function call.
It is necessary to make 'default' a reserved word within OCL expressions.Suggest: define BooleanOCLExpr and SlotOwnerOCLExpr very narrowly.
Predicate ::= SimpleNameCS ("." SimpleNameCS)* "=" OclExpressionCS
Assignment ::= ["default"] SimpleNameCS ("." SimpleNameCS)* ":=" OclExpressionCSDiscussion
Merged with the inadequate definition of identifiers.
-
Updated: Tue, 29 Mar 2016 15:09 GMT