Edit C:\Program Files\Java\jdk1.8.0_121\com\sun\org\apache\xalan\internal\utils\FactoryImpl.java
/* * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.org.apache.xalan.internal.utils; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.SAXParserFactory; /** * * @author huizhe wang */ public class FactoryImpl { static final String DBF = "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"; static final String SF = "com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"; static public DocumentBuilderFactory getDOMFactory(boolean useServicesMechanism) { DocumentBuilderFactory dbf = useServicesMechanism ? DocumentBuilderFactory.newInstance() : DocumentBuilderFactory.newInstance( DBF, FactoryImpl.class.getClassLoader()); return dbf; } static public SAXParserFactory getSAXFactory(boolean useServicesMechanism) { SAXParserFactory factory = useServicesMechanism ? SAXParserFactory.newInstance() : SAXParserFactory.newInstance(SF, FactoryImpl.class.getClassLoader()); return factory; } }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de