KerML 1.0b2 FTF Avatar
  1. OMG Issue

KERML — checkConnectorTypeFeaturing is not correct

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

    The OCL for the checkConnectorTypeFeaturing constraint (see 8.3.4.5.3) uses the Feature::isFeatureWithin operation (see 8.3.3.3.3) to check that each relatedFeature of a Connector is "within" a featuringType of the Connector. Unfortunately, isFeatureWithin is currently specified to allow "downward nesting" of a Feature. For example, in the following:

    classifier A {
        feature x;
        feature y {
            feature z;
        }
        connector c from x to y::z;
    }
    

    the Feature z is considered to be indirectly "featured within" the Classifier A. But this means that the Connector c is then considered to be valid, which it shouldn't be – a feature chain y.z should be required to be used instead of the qualified name y::z.

  • Reported: KerML 1.0a1 — Sat, 13 May 2023 23:11 GMT
  • Updated: Mon, 8 Apr 2024 21:42 GMT