On Tue, 21 Aug 2001, Thom Park wrote:
> Date: Tue, 21 Aug 2001 14:00:34 -0700
> From: Thom Park <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: DTD DOCTYPE wrong in examples....?
>
> Hello,
>
> Sun appear to have changed the DOCTYPE for the web application in servlet
> specification 2.3.
> Actually, in the draft spec it states that the doc type is:
>
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
>
> however, the actual location appears to be:
>
> http://java.sun.com/dtd/web-app_2_3.dtd
>
This is the value that will be in the final spec (because that is where
the DTD actually lives). I have just committed a fix to bring all the
webapps included with Tomcat 4 up-to-date with respect to this.
NOTE: Depending on what XML parser you use, an out-of-date value will not
matter. Tomcat registers an internal copy of the DTD with its parser, so
that as long as you get the public identifier correct, the parser will
*not* try to retrieve the DTD across the network.
>
> -Thom
>
Craig