From 1241a24ebb8dc65d535ecd407e647e1517f43445 Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Tue, 4 Aug 2015 22:24:31 +0000 Subject: [PATCH] move setting of xmlinputfactory from junit to gump-meta/poi.xml git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1694120 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/xslf/usermodel/TestPPTX2PNG.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java index ecf6457bb..a0a937aee 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java @@ -44,7 +44,7 @@ public class TestPPTX2PNG { @BeforeClass public static void activateJaxpDebug() { jaxpDebugEnable = setDebugFld(true); - setXmlInputFactory(); +// setXmlInputFactory(); } @AfterClass @@ -67,16 +67,16 @@ public class TestPPTX2PNG { } } - private static void setXmlInputFactory() { - String propName = "javax.xml.stream.XMLInputFactory"; - String propVal = "com.sun.xml.internal.stream.XMLInputFactoryImpl"; - try { - Class.forName(propVal); - System.setProperty(propName, propVal); - } catch (Exception e){ - // ignore - } - } +// private static void setXmlInputFactory() { +// String propName = "javax.xml.stream.XMLInputFactory"; +// String propVal = "com.sun.xml.internal.stream.XMLInputFactoryImpl"; +// try { +// Class.forName(propVal); +// System.setProperty(propName, propVal); +// } catch (Exception e){ +// // ignore +// } +// } @Test