fix some xml issues

This commit is contained in:
jackyq2015 2017-08-06 22:05:17 -05:00
parent 8b2d21d7aa
commit fd58ac1e99
4 changed files with 24 additions and 22 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<jdoconfig xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig" <jdoconfig xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig"> xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig http://java.sun.com/xml/ns/jdo/jdoconfig_3_0.xsd">
<persistence-manager-factory name="transactional"> <persistence-manager-factory name="transactional">
<property name="javax.jdo.PersistenceManagerFactoryClass" <property name="javax.jdo.PersistenceManagerFactoryClass"

View File

@ -2,13 +2,13 @@
<suite name="OpenRefine Broker Unit Tests"> <suite name="OpenRefine Broker Unit Tests">
<test name="tests"> <test name="tests">
<packages>
<package name="com.google.refine.broker.tests.*"/>
</packages>
<groups> <groups>
<run> <run>
<exclude name="broken" /> <exclude name="broken" />
</run> </run>
</groups> </groups>
<packages>
<package name="com.google.refine.broker.tests.*"/>
</packages>
</test> </test>
</suite> </suite>

View File

@ -2,13 +2,13 @@
<suite name="Refine Unit Tests"> <suite name="Refine Unit Tests">
<test name="tests"> <test name="tests">
<packages>
<package name="com.google.refine.tests.*"/>
</packages>
<groups> <groups>
<run> <run>
<exclude name="broken" /> <exclude name="broken" />
</run> </run>
</groups> </groups>
<packages>
<package name="com.google.refine.tests.*"/>
</packages>
</test> </test>
</suite> </suite>

View File

@ -1,8 +1,8 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE web-app <!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app> <web-app>
<display-name>OpenRefine</display-name> <display-name>OpenRefine</display-name>
@ -20,6 +20,19 @@
<param-value>/</param-value> <param-value>/</param-value>
</context-param> </context-param>
<filter>
<filter-name>GzipFilter</filter-name>
<filter-class>org.mortbay.servlet.GzipFilter</filter-class>
<init-param>
<param-name>mimeTypes</param-name>
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,text/css,text/javascript,application/javascript,application/json,image/svg+xml</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>GzipFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet> <servlet>
<servlet-name>refine</servlet-name> <servlet-name>refine</servlet-name>
<servlet-class>com.google.refine.RefineServlet</servlet-class> <servlet-class>com.google.refine.RefineServlet</servlet-class>
@ -44,16 +57,5 @@
<url-pattern>/*</url-pattern> <url-pattern>/*</url-pattern>
</servlet-mapping> </servlet-mapping>
<filter>
<filter-name>GzipFilter</filter-name>
<filter-class>org.mortbay.servlet.GzipFilter</filter-class>
<init-param>
<param-name>mimeTypes</param-name>
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,text/css,text/javascript,application/javascript,application/json,image/svg+xml</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>GzipFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app> </web-app>