Difference between revisions of "Practices no longer recommended or now deprecated"

From TEIWiki
Jump to navigation Jump to search
m (Hard deprecation: copyediting)
Line 6: Line 6:
 
* [http://www.tei-c.org/Activities/Council/Meetings/tcm50.xml April 2012 meeting in Ann Arbor]
 
* [http://www.tei-c.org/Activities/Council/Meetings/tcm50.xml April 2012 meeting in Ann Arbor]
  
== Soft deprecation ==
+
== Recent practice ==
 +
 
 +
=== Soft deprecation ===
  
 
"Soft deprecation", sometimes called a "health warning", is a statement in the Guidelines that a practice is no longer recommended.  However, no timeline is established for removing particular elements or attributes.  There is currently no mechanism to find such statements in the Guidelines to actually remove them.
 
"Soft deprecation", sometimes called a "health warning", is a statement in the Guidelines that a practice is no longer recommended.  However, no timeline is established for removing particular elements or attributes.  There is currently no mechanism to find such statements in the Guidelines to actually remove them.
Line 18: Line 20:
 
* [http://purl.org/tei/fr/3565878 where to put <idno> within <biblStruct>]
 
* [http://purl.org/tei/fr/3565878 where to put <idno> within <biblStruct>]
  
== Hard deprecation ==
+
=== Hard deprecation ===
  
 
We make adjustments to the prose of the Guidelines, and <code>status="deprecated"</code> is inserted in the Guidelines ODD(s) to mark the deprecated element or attribute.
 
We make adjustments to the prose of the Guidelines, and <code>status="deprecated"</code> is inserted in the Guidelines ODD(s) to mark the deprecated element or attribute.
Line 28: Line 30:
 
* [http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-quotation.html @form deprecated on <quotation>] -- While the deprecation note appears in red in the element definition, it doesn't appear at all [http://www.tei-c.org/release/doc/tei-p5-doc/en/html/HD.html#HD53 when the element is referenced in the prose of the Guidelines] (Note: deprecation will be noted in the Guidelines when [http://purl.org/TEI/FR/3556778 FR 3556778] is implemented.)
 
* [http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-quotation.html @form deprecated on <quotation>] -- While the deprecation note appears in red in the element definition, it doesn't appear at all [http://www.tei-c.org/release/doc/tei-p5-doc/en/html/HD.html#HD53 when the element is referenced in the prose of the Guidelines] (Note: deprecation will be noted in the Guidelines when [http://purl.org/TEI/FR/3556778 FR 3556778] is implemented.)
 
* [http://purl.org/TEI/FR/3570037 add @unit to <biblScope>, and soft-deprecate @type] -- It said to do "soft, soft deprecation", but use of @status feels like the most clear way to communicate this.  This is one of the many things LB and KH need to resolve in our tcw on deprecation.
 
* [http://purl.org/TEI/FR/3570037 add @unit to <biblScope>, and soft-deprecate @type] -- It said to do "soft, soft deprecation", but use of @status feels like the most clear way to communicate this.  This is one of the many things LB and KH need to resolve in our tcw on deprecation.
 +
 +
== Proposals to clarify practice ==
 +
 +
=== Kevin's ===
 +
 +
For all deprecations of elements or attributes, we would use <code>status="deprecated"</code> in the appropriate place in the appropriate spec(s) and, where appropriate, add prose to the Guidelines explaining that the practice is no longer recommended.  We would use some sort of mechanism, such as SF tickets, for tracking work that remains to be done in the future.
 +
 +
For soft deprecations, we would remove examples in the Guidelines that include an element or attribute in passing but leave any examples that illustrate this element or attribute in particular.  No timeline would be established for removing the element or attribute from the Guidelines.
 +
 +
For hard deprecations, we would remove all examples of an element or attribute found in the Guidelines and plan to modify the appropriate spec(s) one year from the time of implementation of the hard deprecation.
 +
 +
=== (fill in yours here) ===
  
 
== To be resolved ==
 
== To be resolved ==

Revision as of 21:16, 23 December 2012

Over the course of a few TEI Technical Council meetings from 2010 to 2012, Council members agreed to establish two different deprecation mechanisms for practices in the Guidelines which are to be phased out at some point. (See a bit of history of the technical implementation.) Here are links to particular meetings where this was discussed:

Recent practice

Soft deprecation

"Soft deprecation", sometimes called a "health warning", is a statement in the Guidelines that a practice is no longer recommended. However, no timeline is established for removing particular elements or attributes. There is currently no mechanism to find such statements in the Guidelines to actually remove them.

Examples:

Hard deprecation

We make adjustments to the prose of the Guidelines, and status="deprecated" is inserted in the Guidelines ODD(s) to mark the deprecated element or attribute.

Examples:

Proposals to clarify practice

Kevin's

For all deprecations of elements or attributes, we would use status="deprecated" in the appropriate place in the appropriate spec(s) and, where appropriate, add prose to the Guidelines explaining that the practice is no longer recommended. We would use some sort of mechanism, such as SF tickets, for tracking work that remains to be done in the future.

For soft deprecations, we would remove examples in the Guidelines that include an element or attribute in passing but leave any examples that illustrate this element or attribute in particular. No timeline would be established for removing the element or attribute from the Guidelines.

For hard deprecations, we would remove all examples of an element or attribute found in the Guidelines and plan to modify the appropriate spec(s) one year from the time of implementation of the hard deprecation.

(fill in yours here)

To be resolved

For both soft and hard deprecation, a bug or feature request ticket is sometimes created -- or an existing bug or feature request is reassigned to the "Deprecated" category.

Also, should we adopt any of the practices suggested on the talk page?