diff --git a/pom.xml b/pom.xml
index 37b3ee8c..514cefaa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,6 +56,7 @@
org.codehaus.mojo
cobertura-maven-plugin
+ 2.7
false
@@ -95,6 +96,7 @@
com.mycila.maven-license-plugin
maven-license-plugin
+ 1.10.b1
src/main/resources/header.txt
@@ -198,13 +200,14 @@
- org.apache.maven.plugins
- maven-surefire-plugin
-
- 3
- true
- -Xmx1024m -XX:MaxPermSize=256m
-
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 2.12.4
+
+ 3
+ true
+ -Xmx1024m -XX:MaxPermSize=256m
+
diff --git a/src/main/java/org/xmlcml/norma/util/TransformerWrapper.java b/src/main/java/org/xmlcml/norma/util/TransformerWrapper.java
index 92bfd45c..55033a22 100644
--- a/src/main/java/org/xmlcml/norma/util/TransformerWrapper.java
+++ b/src/main/java/org/xmlcml/norma/util/TransformerWrapper.java
@@ -16,6 +16,9 @@
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;
+import net.sf.saxon.TransformerFactoryImpl;
+import net.sf.saxon.Configuration;
+import net.sf.saxon.lib.FeatureKeys;
import nu.xom.Document;
import nu.xom.Element;
@@ -61,9 +64,9 @@ public Transformer createTransformer(File stylesheet) throws Exception {
}
public Transformer createTransformer(org.w3c.dom.Document xslStylesheet) throws Exception {
- System.setProperty(JAVAX_XML_TRANSFORM_TRANSFORMER_FACTORY,
- NET_SF_SAXON_TRANSFORMER_FACTORY_IMPL);
- TransformerFactory tfactory = TransformerFactory.newInstance();
+ Configuration config = new Configuration();
+ config.setConfigurationProperty(FeatureKeys.SUPPRESS_XSLT_NAMESPACE_CHECK, "true");
+ TransformerFactory tfactory = new TransformerFactoryImpl(config);
DOMSource domSource = new DOMSource(xslStylesheet);
javaxTransformer = tfactory.newTransformer(domSource);
return javaxTransformer;