dleslie 01/05/17 08:12:57 Modified: java/xdocs/sources/xalan xsltc_usage.xml Log: Rmeember to reset system properties! Revision Changes Path 1.11 +4 -2 xml-xalan/java/xdocs/sources/xalan/xsltc_usage.xml Index: xsltc_usage.xml =================================================================== RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/xsltc_usage.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- xsltc_usage.xml 2001/05/17 14:41:06 1.10 +++ xsltc_usage.xml 2001/05/17 15:12:54 1.11 @@ -336,7 +336,8 @@ String key = "javax.xml.transformer.TransformerFactory"; String value = "org.apache.xalan.xsltc.runtime.TransformerFactoryImpl"; Properties props = new Properties(System.getProperties()); -Object o = props.put(key, value); +props.put(key, value); +System.setProperties(props); ... String xslInURI; // Instantiate the TransformerFactory, and use it along with a SteamSource @@ -365,7 +366,8 @@ String key = "javax.xml.transformer.TransformerFactory"; String value = "org.apache.xalan.xsltc.runtime.TransformerFactoryImpl"; Properties props = new Properties(System.getProperties()); -Object o = props.put(key, value); +props.put(key, value); +System.setProperties(props); ... String xslInURI; String xmlInURI;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
