SysML 2.0b2 FTF Avatar
  1. OMG Issue

SYSML2 — Parsing KerML Feature elements from SysML textual notation

  • Key: SYSML2-783
  • Status: open  
  • Source: Model Driven Solutions ( Mr. Ed Seidewitz)
  • Summary:

    In some cases, parsing certain short-hand SysML notations results in the creation of KerML Feature elements. In particular, according to 8.2.2.13.1 Connection Definition and Usage, shorthand connection notation such as

    connection connect x to y;
    

    is parsed into a ConnectionUsage with two end features that are KerML Features. However, it is not possible to create ends that are KerML Features in "long hand" SysML notations. For example, in the notation

    connection {
        end references x;
        end references y;
    }
    

    the two ends are parsed as SysML ReferenceUsages, not KerML Features.

    This means that these two examples, while semantically equivalent, are not actually just different surface notations for the same underlying abstract syntax representation. it would be better to have the shorthand notations parse to fully SysML abstract syntax, as much as possible, so that the shorthand notation is just a different surface representation of a certain abstract syntax pattern that can also be equally represented in the full notation.

  • Reported: SysML 2.0b1 — Mon, 22 Jan 2024 04:35 GMT
  • Updated: Mon, 8 Apr 2024 18:20 GMT