From fd58ac1e99eb7d4f68bec72cb9d6301e6a52857d Mon Sep 17 00:00:00 2001 From: jackyq2015 Date: Sun, 6 Aug 2017 22:05:17 -0500 Subject: [PATCH] fix some xml issues --- broker/appengine/WEB-INF/jdoconfig.xml | 2 +- broker/core/tests/conf/tests.xml | 6 ++--- main/tests/server/conf/tests.xml | 6 ++--- main/webapp/WEB-INF/web.xml | 32 ++++++++++++++------------ 4 files changed, 24 insertions(+), 22 deletions(-) diff --git a/broker/appengine/WEB-INF/jdoconfig.xml b/broker/appengine/WEB-INF/jdoconfig.xml index fcb4f0b61..f4d0e1834 100644 --- a/broker/appengine/WEB-INF/jdoconfig.xml +++ b/broker/appengine/WEB-INF/jdoconfig.xml @@ -1,7 +1,7 @@ + xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig http://java.sun.com/xml/ns/jdo/jdoconfig_3_0.xsd"> - - - + + + diff --git a/main/tests/server/conf/tests.xml b/main/tests/server/conf/tests.xml index 45ce758b5..eb951662b 100644 --- a/main/tests/server/conf/tests.xml +++ b/main/tests/server/conf/tests.xml @@ -2,13 +2,13 @@ - - - + + + diff --git a/main/webapp/WEB-INF/web.xml b/main/webapp/WEB-INF/web.xml index 8c3ed5e48..409fd4a4e 100644 --- a/main/webapp/WEB-INF/web.xml +++ b/main/webapp/WEB-INF/web.xml @@ -1,8 +1,8 @@ + PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" + "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd"> OpenRefine @@ -19,7 +19,20 @@ org.mortbay.jetty.servlet.SessionPath / - + + + GzipFilter + org.mortbay.servlet.GzipFilter + + mimeTypes + text/html,text/plain,text/xml,application/xhtml+xml,text/css,text/javascript,application/javascript,application/json,image/svg+xml + + + + GzipFilter + /* + + refine com.google.refine.RefineServlet @@ -44,16 +57,5 @@ /* - - GzipFilter - org.mortbay.servlet.GzipFilter - - mimeTypes - text/html,text/plain,text/xml,application/xhtml+xml,text/css,text/javascript,application/javascript,application/json,image/svg+xml - - - - GzipFilter - /* - +