You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Konstantin Kolinko <kn...@gmail.com> on 2010/01/05 01:17:34 UTC

Re: svn commit: r894577 - /tomcat/trunk/conf/web.xml

2009/12/30  <ma...@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


Re: svn commit: r894577 - /tomcat/trunk/conf/web.xml

Posted by Mark Thomas <ma...@apache.org>.
On 05/01/2010 00:17, Konstantin Kolinko wrote:
> The xsi:schemaLocation attribute above is wrong. It should be a pair of URLs.

Fixed. Thanks.

Mark



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