att.deprecated

att.deprecated provides attributes indicating how a deprecated feature will be treated in future releases.
Moduletagdocs — Documentation Elements
Membresatt.combinable [att.identified [attDef classSpec constraintSpec dataSpec elementSpec macroSpec moduleSpec paramSpec schemaSpec] valDesc valItem valList] defaultVal
AttributsAttributs
validUntilprovides a date before which the construct being defined will not be removed.
Statut Optionel
Type de données 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 its use is no longer supported</sch:assert>
<sch:assert role="nonfatal"
 test="@validUntil cast as xs:date ge (current-date() + (60*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 becomes outdated on <sch:value-of select="@validUntil"/>
</sch:assert>
</sch:rule>