Hello,

I'm trying to get my application which performs a
tranform using xalan to work in an environment which
effectively contains the jaxp1.01 versions of jaxp.jar
and parser.jar as the first entries in the classpath. 
At Gary's suggestion I set the system property
javax.xml.parsers.SAXParserFactory to
org.apache.xerces.jaxp.SAXParserFactoryImpl.  This
solved the problem in my test environment even when I
put the jaxp1.01 jars at the head of the classpath. 
However, when I run it in the production environment I
get the following error:

org.xml.sax.SAXException:
javax.xml.parsers.FactoryConfigurationError:
org.apache.xerces.jaxp.SAXParserFactoryImpl
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:909)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)

It seems to be loading SAXParserFactoryImpl from
xerces.jar but there is some further problem.  The
stack trace doesn't seem to be very helpful.  Does
anyone have any idea what the problem might be? 
Thanks in advance.

-Jason

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

Reply via email to