VO-DML schema change

CresitelloDittmar, Mark mdittmar at cfa.harvard.edu
Fri Aug 16 20:29:18 CEST 2024


Pat,
How are you obtaining it?
I just went there and clicked the v1.0 button (
https://www.ivoa.net/xml/VODML/vo-dml-v1.xsd)
and got:
  * https://www.ivoa.net/xml/VODML/20180519/vo-dml-v1.0.xsd
which has a version attribute in the Model complexType.


<xsd:complexType name="Model">
<xsd:annotation>...</xsd:annotation>
<xsd:sequence>
<xsd:element name="name" type="ModelName" minOccurs="1" maxOccurs="1">...
</xsd:element>
<xsd:element name="description" type="xsd:string" minOccurs="0" maxOccurs="1
">...</xsd:element>
<xsd:element name="identifier" type="xsd:string" minOccurs="0" maxOccurs="1
">...</xsd:element>
<xsd:element name="uri" type="xsd:anyURI" minOccurs="1" maxOccurs="1">...
</xsd:element>
<xsd:element name="title" type="xsd:string" minOccurs="1" maxOccurs="1">...
</xsd:element>
<xsd:element name="author" type="xsd:string" minOccurs="0" maxOccurs="
unbounded">...</xsd:element>
*<xsd:element name="version" type="xsd:string" minOccurs="1">...</xsd:element>*
<xsd:element name="previousVersion" type="xsd:anyURI" minOccurs="0">...
</xsd:element>
<xsd:element name="lastModified" type="xsd:dateTime">...</xsd:element>
<xsd:element name="import" type="ModelImport" minOccurs="0" maxOccurs="
unbounded">...</xsd:element>
<xsd:element name="primitiveType" type="PrimitiveType" minOccurs="0"
maxOccurs="unbounded">...</xsd:element>
<xsd:element name="enumeration" type="Enumeration" minOccurs="0" maxOccurs="
unbounded">...</xsd:element>
<xsd:element name="dataType" type="DataType" minOccurs="0" maxOccurs="
unbounded">...</xsd:element>
<xsd:element name="objectType" type="ObjectType" minOccurs="0" maxOccurs="
unbounded">...</xsd:element>
<xsd:element name="package" type="Package" minOccurs="0" maxOccurs="
unbounded">...</xsd:element>
</xsd:sequence>
</xsd:complexType>




On Fri, Aug 16, 2024 at 1:08 PM Patrick Dowler via dm <dm at ivoa.net> wrote:

>
> My VO-DML validation code had a slightly different version of
> vo-dml-v1.0.xsd from the
> one on ivoa.net, specifically my copy included a version attribute in the
> top level vodml:model
> element that is removed in the currently published xsd file.
>
> Does anyone recall what happened there and if that's correct?
>
> The http headers say "Last-Modified: Fri, 09 Oct 2020 12:31:43 GMT" which
> is 2 years after
> the standard became a rec, but not definitive.
> --
> Patrick Dowler
> Canadian Astronomy Data Centre
> Victoria, BC, Canada
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ivoa.net/pipermail/dm/attachments/20240816/da4ebf1d/attachment-0001.htm>


More information about the dm mailing list