<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><br><blockquote type="cite"><div>On 23 Feb 2023, at 18:23, Laurent Michel <laurent.michel@astro.unistra.fr> wrote:</div><br class="Apple-interchange-newline"><div>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div>
<div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>—</div><div>Translate with https: //<a href="http://www.deepl.com/translator">www.deepl.com/translator</a></div><div>-- <br>jesuischarlie/Tunis/Paris/Bruxelles/Berlin<br><br>Laurent Michel<br>SSC XMM-Newton<br>Tél : +33 (0)3 68 85 24 37<br>Fax : +33 (0)3 )3 68 85 24 32<br>Université de Strasbourg <<a href="http://www.unistra.fr/">http://www.unistra.fr</a>><br>Observatoire Astronomique<br>11 Rue de l'Université<br>F - 67200 Strasbourg</div></div></div>
</div>
<div><br><blockquote type="cite"><div>On 23 Feb 2023, at 18:59, Paul Harrison <<a href="mailto:paul.harrison@manchester.ac.uk">paul.harrison@manchester.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><br><blockquote type="cite"><div>On 23 Feb 2023, at 14:24, Laurent Michel <<a href="mailto:laurent.michel@astro.unistra.fr">laurent.michel@astro.unistra.fr</a>> wrote:</div><br class="Apple-interchange-newline"><div><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><div><blockquote type="cite" style="font-family: Helvetica; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><div><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><blockquote type="cite"><div><div><span style="caret-color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">I understand, but there is no reason but he common sense, to give a particular structure to the VOMDL-IDs.<span class="Apple-converted-space"> </span></span><br style="caret-color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span style="caret-color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">We you generate VODML from XMI (modelio), you first get random IDs for the VOMDL-ID and in a second steps, there are built from [model-name, attr-name , ID of the host class], but the XSLT doing this is not part of the standard. If you edit your VOMDL by hand, like Pat did, you may introduce a distortion to this rule without breaking the schema compliance.</span><br style="caret-color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><br style="caret-color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span style="caret-color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">This is why I suggest to tell the users:</span><br style="caret-color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span style="caret-color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">- do not rely on names</span><br style="caret-color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span style="caret-color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">- do no parse VODML-IDs</span><br style="caret-color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"></div></div></blockquote><div><br></div><div>I agree that technically the VODML-IDs are just XMLIDs andlong as they are unique within a single VODML instance that they can have any value/structure. However, this is precisely the problem, as simply regarded like this, then two instances of a VO-DML document describing a particular model could both be valid, but with entirely different sets of VODML-IDs, and in this situation another standard like MIVOT cannot use those VODML-IDs without also saying precisely which instance document is being used to describe the model. Unless there is some guarantee about the form of the VODML-ID  then there could also be undesirable behaviour that new versions of a model did not retain the exact same VODML-ID for a particular attribute.</div><div><br></div></div></div></div></blockquote><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><br></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">I do not agree with this. Once the VODML-IDs have been set, no matter how you do it, they are part of the standard - of the VOMDL description of the model -. None is allowed to change them later on.</span></div></div></div><br class="Apple-interchange-newline"></div></blockquote></div><br><div>The VO-DML standard makes no guarantee of this - it is perfectly legal for me to create the next version of the PhotDM for instance with totally different VODML-IDs. We all agree that it is sensible that a particular model element keeps a constant ID and better that it is human readable, and that the human can look at the structure of the VODML-ID and make inferences about the function of that element in the model. However, the only reason that this has happened in model instances so far is because of the XSLT processing, which you say is not part of the standard. I would like the structure that the XSLT scripts impose to be part of the standard, so that the manual edit that Pat did would actually be non-compliant.</div></div></div></blockquote><div><br></div>Once your model has been reviewed and accepted, the VODML file is published on the doc repo and becomes the reference along with the spec document. </div><div>None can modify it anymore out of the std&doc process. </div><div>The VOMDL-IDs in that file are then frozen and can be used with absolute confidence.</div><div> Changing them is equivalent to changing the standard.</div><div>The stability of the VOMDL-IDs is not provided by the VODML standard but by the Std&Doc rules.</div><div><br></div></div></div></blockquote><div><br></div><div>This is what the VO-DML standard says about VODML-IDs </div><div><br></div><div>----</div><div><div class="page" title="Page 21"><div class="layoutArea"><div class="column"><p><span style="font-size: 12pt; font-family: ArialMT;">Identifier for the containing model element. Syntax in VO-DML/XML defined by the </span><span style="font-size: 12pt; font-family: CourierNewPSMT;">VODMLID </span><span style="font-size: 12pt; font-family: ArialMT;">type, as shown in the VO-DML/Schema snippet below. This element MUST be formatted according to the regular expression in the XML schema:</span></p><pre><span style="font-size: 12pt; font-family: CourierNewPSMT;">        [a-zA-Z][a-zA-Z0-9_\.]*
</span></pre><p><span style="font-size: 12pt; font-family: ArialMT;">The value assigned to an element MUST be unique in the document and is case sensitive.</span></p></div></div></div></div><div>-----</div><div><br></div><div>I can follow all of  Std&Doc rules and all of the VO-DML std rules and produce PhotDM 1.2 with entirely different VODML-IDs - It is not sensible, but it is legal, as the standard only says that they must be unique within the document, and does not relate them to the <name> elements, so the IDs could be just random generated strings - much as happens with the XMI produced by UML modelling tools. I want to update the standard to say that it there is the structure in the VODML-IDs that many other things implicitly rely on when referring to model elements from outside the file.</div><div><br></div><div>I am not sure why the VO-DML standard does not address this  - possibly because as generated by the tooling the VODML-IDs look a lot like another definition of UType (<a href="https://www.ivoa.net/documents/Notes/UTypesUsage/">https://www.ivoa.net/documents/Notes/UTypesUsage/</a>) and it was “easier” to avoid that issue, and just treat it as a “new” way to reference data model elements. I think that was a mistake as the rigorous way that they are produced would have been the opportunity to say this is the “best” UTYPE.</div><div><br></div><div>Of course because the VODML-IDs are mechanically constructed it is possible to remove them….</div><div><br></div><div><br></div><div>Paul.</div><div><br></div><div><br></div><br></div><div><br></div><br></body></html>