Source
http://lostinheapspace.blogspot.sg/2008/12/specify-documentbuilderfactory-with.html
System.setProperty("javax.xml.parsers.DocumentBuilderFactory", "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl");DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
No comments:
Post a Comment