In which schema to define the <deprecated> element?

Added by Michael Lutz about 6 years ago

If deprecation metadata are to be included, in which schema should the new <deprecated> element be defined – in one of the INSPIRE base type schemas, or in a new schema?

<xs:element name="deprecated">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:boolean">
        <xs:attribute name="sinceVersion" type="xs:string" use="required"/>
        <xs:attribute name="sinceDate" type="xs:date" use="required"/>
        <xs:attribute name="supportedUntil" type="xs:date" use="optional"/>
      </xs:extension>
      </xs:simpleContent>
  </xs:complexType>
</xs:element>

[DISCUSSION ISSUE In which schema to define the <deprecated> element?] If metadata are included, in which schema should the new <deprecated> element be defined – in one of the INSPIRE base type schemas, or in a new schema?


Replies (1)

RE: In which schema to define the <deprecated> element? - Added by Alberto Belussi almost 6 years ago

You could also create a new xsd file, since at UML level you could define an ad hoc package, or put it in the base.xsd file. In any case both solutions lead to some bug fixes, but this should be documented as a basic type change.

(1-1/1)