Issue 17161: Issues with XMI for SysML 1.3 (sysml-rtf) Source: Microsoft (Mr. Steve Cook, stcook(at)microsoft.com) Nature: Uncategorized Issue Severity: Summary: I am working through some examples for MEF as you suggested. When I look at the XMI for SysML 1.3, I find the following anomalies: 1. The model library PrimitiveValueTypes is a Package owned by the SysML Profile. This is what the XMI says but it is not shown as such in figure 4.3 in the SysML specification. 2. The PrimitiveValueTypes Package does have the SysML profile applied to it, but it does not have any stereotypes applied to the various DataTypes. Surely there should be elements of the following form in there: <sysml:ValueType xmi:id="Stereotype1" base_DataType="_OMG_SysML_20110919_SysML_Libraries-PrimitiveValueTypes-Real" /> In order for such elements to be legal, the sysml xmlns needs to be declared. Also it’s somewhat unclear to me whether those elements should be children of the outer XMI element, or of the contained SysML package element. Resolution: Revised Text: Actions taken: February 23, 2012: received issue Discussion: End of Annotations:===== m: Steve Cook To: "Rouquette, Nicolas F (313K)" Subject: Issues with XMI for SysML 1.3 Nicolas I am working through some examples for MEF as you suggested. When I look at the XMI for SysML 1.3, I find the following anomalies: 1. The model library PrimitiveValueTypes is a Package owned by the SysML Profile. This is what the XMI says but it is not shown as such in figure 4.3 in the SysML specification. 2. The PrimitiveValueTypes Package does have the SysML profile applied to it, but it does not have any stereotypes applied to the various DataTypes. Surely there should be elements of the following form in there: In order for such elements to be legal, the sysml xmlns needs to be declared. Also it.s somewhat unclear to me whether those elements should be children of the outer XMI element, or of the contained SysML package element. I am copying issues@omg.org, because this seems to me to be a serious matter. -- Steve From: "Rouquette, Nicolas F (313K)" To: Steve Cook Subject: Re: Issues with XMI for SysML 1.3 Steve, Yes, the XMI for SysML 1.3 is missing the information pertaining to the application of the SysML stereotypes in several places. This is an unfortunate consequence of the post-processing we did with XSLT where we didn't have rules to preserve this information. I will regenerate the XMI for SysML 1.3 over the weekend. - Nicolas. On Feb 23, 2012, at 4:34 AM, Steve Cook wrote: Nicolas Similar problems apply for http://www.omg.org/spec/SysML/20110802/ISO-80000-1-QUDV.xmi. QuantityKind is a stereotype of InstanceSpecification. So I would expect to see a lot of statements of the following form in this file: Similarly, http://www.omg.org/spec/SysML/20110802/ISO-80000-1-SysML.xmi defines a bunch of units, but there are no elements like this: Thanks -- Steve From: Steve Cook Sent: 23 February 2012 11:54 To: 'Rouquette, Nicolas F (313K)' Cc: Pete Rivett (pete.rivett@adaptive.com); issues@omg.org Subject: Issues with XMI for SysML 1.3 Nicolas I am working through some examples for MEF as you suggested. When I look at the XMI for SysML 1.3, I find the following anomalies: 1. The model library PrimitiveValueTypes is a Package owned by the SysML Profile. This is what the XMI says but it is not shown as such in figure 4.3 in the SysML specification. 2. The PrimitiveValueTypes Package does have the SysML profile applied to it, but it does not have any stereotypes applied to the various DataTypes. Surely there should be elements of the following form in there: In order for such elements to be legal, the sysml xmlns needs to be declared. Also it.s somewhat unclear to me whether those elements should be children of the outer XMI element, or of the contained SysML package element. I am copying issues@omg.org, because this seems to me to be a serious matter. -- Steve From: Steve Cook To: "Rouquette, Nicolas F (313K)" Subject: RE: Issues with XMI for SysML 1.3 Nicolas Similar problems apply for http://www.omg.org/spec/SysML/20110802/ISO-80000-1-QUDV.xmi. QuantityKind is a stereotype of InstanceSpecification. So I would expect to see a lot of statements of the following form in this file: Similarly, http://www.omg.org/spec/SysML/20110802/ISO-80000-1-SysML.xmi defines a bunch of units, but there are no elements like this: Thanks -- Steve From: Steve Cook Sent: 23 February 2012 11:54 To: 'Rouquette, Nicolas F (313K)' Cc: Pete Rivett (pete.rivett@adaptive.com); issues@omg.org Subject: Issues with XMI for SysML 1.3 Nicolas I am working through some examples for MEF as you suggested. When I look at the XMI for SysML 1.3, I find the following anomalies: 1. The model library PrimitiveValueTypes is a Package owned by the SysML Profile. This is what the XMI says but it is not shown as such in figure 4.3 in the SysML specification. 2. The PrimitiveValueTypes Package does have the SysML profile applied to it, but it does not have any stereotypes applied to the various DataTypes. Surely there should be elements of the following form in there: In order for such elements to be legal, the sysml xmlns needs to be declared. Also it.s somewhat unclear to me whether those elements should be children of the outer XMI element, or of the contained SysML package element. I am copying issues@omg.org, because this seems to me to be a serious matter. -- Steve