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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org