dims 02/02/26 05:34:31 Modified: lib/core xml-apis.jar src/java/org/apache/cocoon Cocoon.java Added: lib/core xalan-2.3.1.jar xercesImpl-2.0.0.jar Removed: lib/core xalan-2.2.0.jar xerces-1.4.4.jar Log: Upgrading to Xalan-J 2.3.1 and associated Xerces 2.0.0. Revision Changes Path 1.3 +334 -337 xml-cocoon2/lib/core/xml-apis.jar <<Binary file>> 1.1 xml-cocoon2/lib/core/xalan-2.3.1.jar <<Binary file>> 1.1 xml-cocoon2/lib/core/xercesImpl-2.0.0.jar <<Binary file>> 1.19 +1 -13 xml-cocoon2/src/java/org/apache/cocoon/Cocoon.java Index: Cocoon.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/Cocoon.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- Cocoon.java 22 Feb 2002 07:03:48 -0000 1.18 +++ Cocoon.java 26 Feb 2002 13:34:31 -0000 1.19 @@ -98,7 +98,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Pierpaolo Fumagalli</a> (Apache Software Foundation, Exoffice Technologies) * @author <a href="mailto:[EMAIL PROTECTED]">Stefano Mazzocchi</a> * @author <a href="mailto:[EMAIL PROTECTED]">Leo Sutic</a> - * @version CVS $Id: Cocoon.java,v 1.18 2002/02/22 07:03:48 cziegeler Exp $ + * @version CVS $Id: Cocoon.java,v 1.19 2002/02/26 13:34:31 dims Exp $ */ public class Cocoon extends AbstractLoggable @@ -416,19 +416,7 @@ * Sets required system properties. */ protected void setSystemProperties() { - java.util.Properties props = new java.util.Properties(); - // FIXME We shouldn't have to specify the SAXParser... - // This is needed by Xalan2, it is used by org.xml.sax.helpers.XMLReaderFactory - // to locate the SAX2 driver. - props.put("org.xml.sax.driver", "org.apache.xerces.parsers.SAXParser"); java.util.Properties systemProps = System.getProperties(); - Enumeration propEnum = props.propertyNames(); - while (propEnum.hasMoreElements()) { - String prop = (String)propEnum.nextElement(); - if (!systemProps.containsKey(prop)) { - systemProps.put(prop, props.getProperty(prop)); - } - } // FIXME We shouldn't have to specify these. Needed to override jaxp implementation of weblogic. if (systemProps.containsKey("javax.xml.parsers.DocumentBuilderFactory") && systemProps.getProperty("javax.xml.parsers.DocumentBuilderFactory").startsWith("weblogic")) {
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]