tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: svn commit: r894577 - /tomcat/trunk/conf/web.xml
Date Tue, 05 Jan 2010 00:17:34 GMT
2009/12/30  <markt@apache.org>:
> Author: markt
> Date: Wed Dec 30 10:13:05 2009
> New Revision: 894577
>
> URL: http://svn.apache.org/viewvc?rev=894577&view=rev
> Log:
> Update to 3.0 schema
>
> Modified:
>    tomcat/trunk/conf/web.xml
>

> Modified: tomcat/trunk/conf/web.xml
> URL: http://svn.apache.org/viewvc/tomcat/trunk/conf/web.xml?rev=894577&r1=894576&r2=894577&view=diff
> ==============================================================================
> --- tomcat/trunk/conf/web.xml (original)
> +++ tomcat/trunk/conf/web.xml Wed Dec 30 10:13:05 2009
> @@ -16,9 +16,9 @@
>   limitations under the License.
>  -->
>  <web-app 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"
> -    version="2.5">
> +  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> +  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
> +  version="3.0">
>

The xsi:schemaLocation attribute above is wrong. It should be a pair of URLs.

http://www.w3.org/TR/xmlschema-1/
-> ch.4.3.2 How schema definitions are located on the Web
"The first records the author's warrant with pairs of URI references
(one for the namespace name, and one for a hint as to the location of
a schema document defining names for that namespace name)"

Best regards,
Konstantin Kolinko

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


Mime
View raw message