On 14/08/2013 03:20, jboy...@apache.org wrote: > Author: jboynes > Date: Wed Aug 14 02:20:02 2013 > New Revision: 1513714 > > URL: http://svn.apache.org/r1513714 > Log: > Deprecate TldConfig and TLD-related properties of Context as they have been > removed in Tomcat 8.0.x where TLD processing is handled by Jasper.
I'm not sure about this. It doesn't seem right to deprecate something in Tomcat 7 when there is nothing to replace it in Tomcat 7. There are other areas (such as the resources) that are completely removed in 8.0.x but not deprecated in 7.0.x as they are a) still being used and b) no replacement is available. To date, deprecation has been used in Tomcat 7 to signal that the code shouldn't be used that an alternative should be used. We haven't in the past deprecated everything in Tomcat n-1 that has been removed in Tomcat n. > Modified: > tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java > tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java > tomcat/tc7.0.x/trunk/java/org/apache/catalina/startup/TldConfig.java > tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml > > Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java > URL: > http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java?rev=1513714&r1=1513713&r2=1513714&view=diff > ============================================================================== > --- tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java (original) > +++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java Wed Aug 14 > 02:20:02 2013 > @@ -655,7 +655,11 @@ public interface Context extends Contain > * Set the validation feature of the XML parser used when > * parsing tlds files. > * @param tldValidation true to enable xml instance validation > + * > + * @deprecated This will be removed in Tomcat 8.0.x onwards. TLD > processing > + * has been moved to Jasper. It isn't clear from this if TLD processing has moved in Tomcat 7 or will move in Tomcat 8. I think this needs re-wording. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org