att.deprecated

att.deprecated provides attributes indicating how a deprecated feature will be treated in future releases.
Módulotagdocs — Documentation Elements
Miembrosatt.combinable [att.identified [attDef classSpec constraintSpec elementSpec macroSpec moduleSpec schemaSpec] valDesc valItem valList]
AtributosAtributos
validUntilprovides a date before which the construct being defined will not be removed.
Estado Opcional
Tipo de datos

<rng:data type="date"/>
xsd:date
Schematron

<sch:rule context="tei:*[@validUntil]">
<sch:assert
  test="@validUntil cast as xs:date ge current-date()">

 <sch:value-of
   select="if (@ident) then concat('The ',@ident) else concat('This ',local-name(.),' of ',ancestor::tei:*[@ident][1]/@ident)"/>
construct is outdated (as of <sch:value-of select="@validUntil"/>); ODD processors may ignore it, and it should probably be removed</sch:assert>
<sch:report
  test="@validUntil cast as xs:date eq current-date()">

 <sch:value-of
   select="if (@ident) then concat('The ',@ident) else concat('This ',local-name(.),' of ',ancestor::tei:*[@ident][1]/@ident)"/>
construct will be outdated as of tomorrow; ODD processors may then ignore it, and thus it should probably be removed soon</sch:report></sch:rule>
<sch:rule context="tei:*[@validUntil]">
<sch:assert
  test="(@validUntil cast as xs:date - current-date()) lt (30*xs:dayTimeDuration('P1D'))">

 <sch:value-of
   select="if (@ident) then concat('The ',@ident) else concat('This ',local-name(.),' of ',ancestor::tei:*[@ident][1]/@ident)"/>
construct is outdated (as of <sch:value-of select="@validUntil"/>); ODD processors may ignore it, and it should probably be removed</sch:assert>
<sch:report
  test="@validUntil cast as xs:date eq current-date()">

 <sch:value-of
   select="if (@ident) then concat('The ',@ident) else concat('This ',local-name(.),' of ',ancestor::tei:*[@ident][1]/@ident)"/>
construct will be outdated as of tomorrow; ODD processors may then ignore it, and thus it should probably be removed soon</sch:report></sch:rule>
Valores A date (in standard yyyy-mm-dd format); at the time the attribute is added to an ODD, this date should be in the future.