diff --git a/xml/src/main/java/org/springframework/xml/transform/TraxUtils.java b/xml/src/main/java/org/springframework/xml/transform/TraxUtils.java index eba44b47..f3db802d 100644 --- a/xml/src/main/java/org/springframework/xml/transform/TraxUtils.java +++ b/xml/src/main/java/org/springframework/xml/transform/TraxUtils.java @@ -16,7 +16,6 @@ package org.springframework.xml.transform; -import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.stream.XMLEventReader; import javax.xml.stream.XMLEventWriter; import javax.xml.stream.XMLStreamException; @@ -38,12 +37,6 @@ import org.springframework.xml.JaxpVersion; */ public abstract class TraxUtils { - private static DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance(); - - static { - documentBuilderFactory.setNamespaceAware(true); - } - /** * Indicates whether the given {@link Source} is a StAX Source. *