<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.ms-sitemapdirectional
        {mso-style-name:ms-sitemapdirectional;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Anthony,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Your summary of each approach is right on the mark. The primary (perhaps only)  “advantage” of the second approach is that it does most-accurately reflect the UML model. My reason for exploring that approach
 is that there has been a fair amount of email discussion about that way of modeling the abstraction, so I thought that I would see how such a model could be most closely preserved in XML schema. If reflecting the UML model is important, then there is a way
 to do it. But the question is whether it is indeed important to do so. If not, then the first approach is probably simpler, as you point out.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">John<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Anthony Crowson [mailto:anthony.crowson@telespazio-vega.de]
<br>
<b>Sent:</b> Wednesday, January 28, 2015 5:27 AM<br>
<b>To:</b> John Pietras; CCSDS SMWG ML (smwg@mailman.ccsds.org)<br>
<b>Subject:</b> RE: [Smwg] Approaches for Implementing the SM Info Entity "Stereotype" in XML Schema<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">John,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">A couple of initial thoughts:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">To me, your second XML approach corresponds as closely as possible within Schema constraints to Colin’s UML. The “potential issue” (mixing incompatible subtypes of header/body) would turn up in other
 languages as well, and I don’t think it is necessarily a problem. This is conceptually the most accurate reflection of the UML. In principle it might help support more flexible/generic software handling multiple info entities.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">On the other hand approach 1 is simpler. The “construction rules” needed for approach 1 govern schema construction only, while those for approach 2 govern instance construction – i.e. approach 1
 does seem to give less opportunity for making mistakes. I would hope that people reference the BB rather than the schema  for general understanding of the spec, so a schema which doesn’t reflect the precise UML relationships shouldn’t actually be problematic.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">The instance documents will probably not look hugely different either way.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Anthony<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:smwg-bounces@mailman.ccsds.org">smwg-bounces@mailman.ccsds.org</a> [<a href="mailto:smwg-bounces@mailman.ccsds.org">mailto:smwg-bounces@mailman.ccsds.org</a>]
<b>On Behalf Of </b>John Pietras<br>
<b>Sent:</b> 27 January 2015 21:37<br>
<b>To:</b> CCSDS SMWG ML (<a href="mailto:smwg@mailman.ccsds.org">smwg@mailman.ccsds.org</a>)<br>
<b>Subject:</b> [Smwg] Approaches for Implementing the SM Info Entity "Stereotype" in XML Schema<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in">CSSMWG colleagues ---<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">As you know, over the past few weeks there has been discussion on various aspects
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">of the “standard header” for the SM Information Entities. In particular, the standard header is really more like a standard stereotype: three abstract classes (SvcMgtInfoEntity, SvcMgtHeader, and SvcMgtData) in
 a defined interrelationship that is inherited by every SM Information Entity that we will define.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Over the past few days, I started looking into how this stereotype relationship might be represented in the XML schemas for those Info Entities. I explored two possible approaches (there may be more) and put together
 a set of slides that I had hoped to be able to present at today’s telecon, but we ran out of time. Selection of one of these approaches (or some alternative) will govern how the XML schemas for our Info Entity schemas will be developed.
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">I’ve posted the presentation in the CWE >
<a href="http://cwe.ccsds.org/css">Cross Support Services Area (CSS)</a> > <a href="http://cwe.ccsds.org/css/docs/Forms/AllItems.aspx?View=%7B8045374D%2DF8E0%2D4356%2D83CA%2D993252A38FE8%7D&">
Documents</a> > <a href="http://cwe.ccsds.org/css/docs/Forms/AllItems.aspx?RootFolder=%2Fcss%2Fdocs%2FCSS%2DSM&View=%7B8045374D%2DF8E0%2D4356%2D83CA%2D993252A38FE8%7D&">
CSS-SM</a> > <a href="http://cwe.ccsds.org/css/docs/Forms/AllItems.aspx?RootFolder=%2Fcss%2Fdocs%2FCSS%2DSM%2FCWE%20Private&View=%7B8045374D%2DF8E0%2D4356%2D83CA%2D993252A38FE8%7D&">
CWE Private</a> > <span class="ms-sitemapdirectional">Draft Schemas</span>  folder at URL<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><a href="http://cwe.ccsds.org/css/docs/CSS-SM/CWE%20Private/Draft%20Schemas/XmlSchemasForInfoEntities-150127.pptx">http://cwe.ccsds.org/css/docs/CSS-SM/CWE%20Private/Draft%20Schemas/XmlSchemasForInfoEntities-150127.pptx</a><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">I hope that we can discuss these approaches at a telecon in the near future. In the meantime, please feel free to look at the briefing and offer comments and criticisms.
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Best regards,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">John<o:p></o:p></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-GB" style="font-size:13.5pt;font-family:"Times New Roman","serif";color:black;background:white">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:13.5pt;font-family:"Times New Roman","serif";color:black;background:white"><br>
<a href="https://filter.gst.com/canit/b.php?i=01NJmtpQV&m=46f1b043c76d&c=s" target="canit_note">Spam</a><br>
<a href="https://filter.gst.com/canit/b.php?i=01NJmtpQV&m=46f1b043c76d&c=n" target="canit_note">Not spam</a><br>
<a href="https://filter.gst.com/canit/b.php?i=01NJmtpQV&m=46f1b043c76d&c=f" target="canit_note">Forget previous vote</a></span><span lang="EN-GB" style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
</div>
</div>
</body>
</html>