vgritsenko 02/01/24 19:39:41 Modified: src/java/org/apache/cocoon/components/parser JaxpParser.java Log: ClassUtils.which returns null. is it ok? Revision Changes Path 1.4 +5 -4 xml-cocoon2/src/java/org/apache/cocoon/components/parser/JaxpParser.java Index: JaxpParser.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/parser/JaxpParser.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- JaxpParser.java 14 Jan 2002 16:18:55 -0000 1.3 +++ JaxpParser.java 25 Jan 2002 03:39:41 -0000 1.4 @@ -59,7 +59,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a> * @author <a href="mailto:[EMAIL PROTECTED]">Carsten Ziegeler</a> * @author <a href="mailto:[EMAIL PROTECTED]">Sylvain Wallez</a> - * @version CVS $Revision: 1.3 $ $Date: 2002/01/14 16:18:55 $ + * @version CVS $Revision: 1.4 $ $Date: 2002/01/25 03:39:41 $ */ public class JaxpParser extends AbstractXMLProducer implements Parser, ErrorHandler, Composable, Parameterizable, Disposable, Poolable { @@ -134,11 +134,11 @@ throw new ParameterException("Cannot load SAXParserFactory class " + className, e); } } - getLogger().debug("SAXParserFactory: " + ClassUtils.which(factory.getClass())); + // FIXME(VG): This always prints "SAXParserFactory: null" + // getLogger().debug("SAXParserFactory: " + ClassUtils.which(factory.getClass())); factory.setNamespaceAware(true); factory.setValidating(validate); - // Get the DocumentFactory className = params.getParameter("document-builder-factory", null); if (className == null) { @@ -152,7 +152,8 @@ throw new ParameterException("Cannot load DocumentBuilderFactory class " + className, e); } } - getLogger().debug("DocumentBuilderFactory: " + ClassUtils.which(docFactory.getClass())); + // FIXME(VG): This always prints "DocumentBuilderFactory: null" + // getLogger().debug("DocumentBuilderFactory: " + ClassUtils.which(docFactory.getClass())); docFactory.setNamespaceAware(true); docFactory.setValidating(validate);
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]