Revision: 10567
Author:   rchan...@google.com
Date:     Wed Aug 24 05:30:48 2011
Log:      Updated header of web.xml files to use XSD version 2.5

Review at http://gwt-code-reviews.appspot.com/1529804

Review by: rda...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10567

Modified:
 /trunk/samples/mobilewebapp/src/main/webapp/WEB-INF/web.xml
/trunk/user/src/com/google/gwt/user/tools/templates/sample/_warFolder_/WEB-INF/web.xmlsrc

=======================================
--- /trunk/samples/mobilewebapp/src/main/webapp/WEB-INF/web.xml Wed Jun 1 07:45:02 2011 +++ /trunk/samples/mobilewebapp/src/main/webapp/WEB-INF/web.xml Wed Aug 24 05:30:48 2011
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app
-    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
-    "http://java.sun.com/dtd/web-app_2_3.dtd";>
-
-<web-app>
+<web-app 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="http://java.sun.com/xml/ns/javaee";>

   <!--
Require login. We only require login for the MobileWebApp.html page (instead of *.html) because
@@ -36,10 +36,10 @@

   <filter>
     <filter-name>GaeAuthFilter</filter-name>
-    <description>
+    <!--
       This filter demonstrates making GAE authentication
       services visible to a RequestFactory client.
-    </description>
+    -->
<filter-class>com.google.gwt.sample.gaerequest.server.GaeAuthFilter</filter-class>
   </filter>
   <filter-mapping>
=======================================
--- /trunk/user/src/com/google/gwt/user/tools/templates/sample/_warFolder_/WEB-INF/web.xmlsrc Mon Mar 7 08:21:08 2011 +++ /trunk/user/src/com/google/gwt/user/tools/templates/sample/_warFolder_/WEB-INF/web.xmlsrc Wed Aug 24 05:30:48 2011
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app
-    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
-    "http://java.sun.com/dtd/web-app_2_3.dtd";>
-
-<web-app>
-
+<web-app 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="http://java.sun.com/xml/ns/javaee";>
+
   <!-- Servlets -->
   <servlet>
     <servlet-name>greetServlet</servlet-name>

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to