You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Balažic <xe...@gmail.com> on 2009/09/07 13:55:57 UTC
Version in web.xml
Hi!
Is the version mismatch in the web-app tag, like this:
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
an error? Or is it valid? Tomcat 6.0.20 appears to accept it.
Regards,
David
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Version in web.xml
Posted by Mark Thomas <ma...@apache.org>.
David Balažic wrote:
> Hi!
>
> Is the version mismatch in the web-app tag, like this:
>
> <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
>
> an error? Or is it valid? Tomcat 6.0.20 appears to accept it.
It is an error but Tomcat will ignore it. That would probably change if
you enabled validation
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org