Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » XSLT + Xalan-Problems
XSLT + Xalan-Problems [message #96546] Fri, 18 July 2003 10:32
Eclipse UserFriend
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
Previous Topic:"Invalid thread access" while closing editor
Next Topic:IE Browser Crashes when viewing Eclipse Info Center
Goto Forum:
  


Current Time: Thu May 08 09:55:33 EDT 2025

Powered by FUDForum. Page generated in 0.04729 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top