[tei-council] "soft deprecation": use @status='deprecated' ?

Martin Holmes mholmes at uvic.ca
Fri Apr 5 15:46:15 EDT 2013



On 13-04-05 10:38 AM, Syd Bauman wrote:
> [Catching up on mail ... expect quite a few responses to old e-mail
>   from me in the near future.]
>
> At first glance, I like this idea. I wonder where in the Guidelines
> source ODD files we would put the Schematron code for an element that
> is not being defined.

TEI, or teiCorpus?

  <assert test="not(descendant::deletedElement">
         The deletedElement element was deprecated for several
	years, and was finally deleted in TEI release x.y.z.
       </assert>

Cheers,
Martin

>> Sebastian suggested using Schematron to warn when an element is
>> deprecated, but that's probably not so good because it will annoy
>> people still using it. However, we could use Schematron _after_ a
>> deprecated element is finally deleted, to trap for its presence and
>> explain that it was previously deprecated and is now gone. That
>> would only hit people once, when they update their schema after the
>> deletion, and it would provide a helpful explanation for a
>> situation which might otherwise take them by surprise or puzzle
>> them.

-- 
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmes at uvic.ca)


More information about the tei-council mailing list