FACE 1.0 FTF Avatar
  1. OMG Issue

FACE — Correct mofext tags and change final separator for FACE namespaces in emof file

  • Key: FACE-25
  • Status: closed  
  • Source: MITRE ( Ms. Sarah Douglass)
  • Summary:

    Short Version: The mofext tags at the end of the emof file are incorrect. The existing namespace prefix (nsPrefix) declarations need to be corrected and also need to be supplemented with additional mofext that include namespace URI (nsURI) declarations. Also consider changing the format of the FACE 3.0 namespaces to use the "#" separator, e.g. http://www.opengroup.us/face/3.0#platform

    (from Pete Rivett) The URI property represents the identifier of the metamodel. This URI property, though it’s used by default for the interchange namespace, can be overridden to specify the namespace used for interchange. If you want to keep the opengroup website for the XML namespace, that is specified using the nsURI MOF tag I mentioned. It accompanies the tags you’re already using for the nsPrefix, which appear at the end of the file:, though they are currently wrong - the nsPrefix name must be itself prefixed org.omg.xmi. as shown below.

    You’d need to declare a nsURI (namespace URI) for each nsPrefix (namespace prefix, you have 6), I just show the first, the others will just differ in the last line for the element and the value.

    <!--- Original Text at end of emof file --->
    <mofext:Tag xmlns:mofext="http://www.omg.org/spec/MOF/20131001" xmi:type="mofext:Tag"
    xmi:id="_19_0_2_157603d2_1581698299484_395395_5638_nsPrefix" name="nsPrefix"
    element="datamodel-platform" value="platform"/>

    <!--- This is the recommended replacement text from Pete. --->
    <mofext:Tag xmlns:mofext="http://www.omg.org/spec/MOF/20131001" xmi:type="mofext:Tag"
    xmi:id="_19_0_2_157603d2_1581698299484_395395_5638_nsPrefix" name="org.omg.xmi.nsPrefix"
    element="datamodel-platform" value="platform"/>

    <mofext:Tag xmlns:mofext="http://www.omg.org/spec/MOF/20131001" xmi:type="mofext:Tag"
    xmi:id="_19_0_2_157603d2_1581698299484_395395_5638_nsURI" name="org.omg.xmi.nsURI"
    element="datamodel-platform" value=" http://www.opengroup.us/face/3.0/platform"/>

    <!--- (you may instead want to use # as final separator) --->
    value=" http://www.opengroup.us/face/3.0#platform"

  • Reported: FACE 1.0a1 — Thu, 8 Apr 2021 15:52 GMT
  • Disposition: Resolved — FACE 1.0
  • Disposition Summary:

    Correct nsPrefix tags and add nsURI tags per Pete Rivett recommendation

    Correct nsPrefix tags and add nsURI tags per Pete's recommendation.

    No change to the URLs for the FACE namespaces, as this is a translation of the normative MOF 2.0 EMOF metamodel in the FACE Technical Standard, Edition 3.0 to MOF 2.5.1. Any changes in the resulting file format or contents due to the translation of the EMOF metamodel would violate the FACE Technical Standard.

  • Updated: Mon, 4 Oct 2021 17:10 GMT
  • Attachments: