KerML 1.0b3 FTF Avatar
  1. OMG Issue

KERML_ — Problem with validateImportTopLevelVisibility constraint

  • Key: KERML_-90
  • Status: open   Implementation work Blocked
  • Source: Model Driven Solutions ( Mr. Ed Seidewitz)
  • Summary:

    Resolution KERML_-79 to issue KERML_-73, approved in Ballot 1, introduces the new validation constraint validateImportTopLevelVisibility with the OCL:

    importOwningNamespace.owningNamespace = null implies 
        visibility = VisibilityKind::private
    

    However, the check in the OCL needs to be on importOwningNamespace.owner rather than importOwningNamespace.owningNamespace, because a filtered import is parsed as having a nested package that is actually owned via a NamespaceImport relationship rather than a Membership. In this case, the package will not have an owningNamespace, but it will still not be the root namespace, because it has an owner.

  • Reported: KerML 1.0b2 — Wed, 17 Jul 2024 03:52 GMT
  • Updated: Tue, 26 Nov 2024 00:50 GMT