XSLT + Xalan-Problems [message #96546] |
Fri, 18 July 2003 10:32 |
Eclipse User |
|
|
|
Originally posted by: jschoder.ai-ag.de
Hi,
I want to write a Plugin which also includes XSLT. I copied code from
the old (non-eclipse-)version:
StreamSource tXMLSource = new StreamSource(new StringReader(tInString));
StreamSource tXSLTSource = new StreamSource(tStream);
Transformer transformer =
TransformerFactory.newInstance().newTransformer(tXSLTSource) ;
transformer.transform(tXMLSource, tStreamResult);
I got the following stacktrace:
javax.xml.transform.TransformerConfigurationException:
javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.crimson.jaxp.SAXParserFactoryImpl not found
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransfo rmer(TransformerFactoryImpl.java:704)
But when I entered the following line:
'System.out.println(org.apache.crimson.jaxp.SAXParserFactory Impl.class);'
it worked perfectly.
I assume it`s some conflict between the libraries xerces, crimson and
xalan. I`m using all three and can`t do it without them. Do you have any
ideas?
greetings Joachim
|
|
|
Powered by
FUDForum. Page generated in 0.04729 seconds