You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Ias <ia...@apache-korea.org> on 2003/12/12 11:40:13 UTC

web.xmls in Tomcat 5.0.16

I found that all the web.xml files in webapps except jsp-examples uses 

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

instead of

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd"
    version="2.4">

I think it might be better for them to use web-app_2_4.xsd together in
order to demonstrate Servlet 2.4 spec of which RI Tomcat 5 is. It also
could remove possible confusion that users get from the mixed usages.

Thanks,

Ias

=========================================================
Lee, Changshin (Korean name)
Ias (International name)
               Company Web Site: http://www.tmax.co.kr
               Personal Web Site: http://www.iasandcb.pe.kr
---------------------------------------------------------
JSR 201, JSR 204 and JSR 222 EG member
Apache Axis (JAX-RPC and SAAJ) and JaxMe (JAXB) committer
R&D Institute
Tmax Soft, Inc.
=========================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: web.xmls in Tomcat 5.0.16

Posted by Jeanfrancois Arcand <jf...@apache.org>.
Ias wrote:

>I found that all the web.xml files in webapps except jsp-examples uses 
>
><!DOCTYPE web-app
>    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>    "http://java.sun.com/dtd/web-app_2_3.dtd">
>
>instead of
>
><web-app xmlns="http://java.sun.com/xml/ns/j2ee"
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd"
>    version="2.4">
>
>I think it might be better for them to use web-app_2_4.xsd together in
>order to demonstrate Servlet 2.4 spec of which RI Tomcat 5 is. It also
>could remove possible confusion that users get from the mixed usages.
>  
>
FYI, by default validation is turned off if Tomcat 5. So DTD or schema
makes no difference.

>Thanks,
>
>Ias
>
>=========================================================
>Lee, Changshin (Korean name)
>Ias (International name)
>               Company Web Site: http://www.tmax.co.kr
>               Personal Web Site: http://www.iasandcb.pe.kr
>---------------------------------------------------------
>JSR 201, JSR 204 and JSR 222 EG member
>Apache Axis (JAX-RPC and SAAJ) and JaxMe (JAXB) committer
>R&D Institute
>Tmax Soft, Inc.
>=========================================================
>  
>
Good. So you know how to submit patches :-) I will be more that happy to
apply your patch :-)

-- Jeanfrancois




>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org