title: Using Xalan in Eclipse plugin
body: <p>I am facing problems with using xalan in eclipse plugin.<br>
  When I try to create factory instance by:</p>
  
  <pre><code>TransformerFactory tFactory = TransformerFactory.newInstance("org.apache.xalan.processor.TransformerFactoryImpl", null);
  </code></pre>
  
  <p>I get error:</p>
  
  <pre><code>javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
  ...
  </code></pre>
  
  <p>I have following libs in plugin classpath: xml-apis.jar, xercesImpl.jar, serializer.jar, xalan.jar</p>
  
  <p>I even can't create class instance by:</p>
  
  <pre><code>c = Class.forName("org.apache.xalan.processor.TransformerFactoryImpl");
  Object o = c.newInstance();
  </code></pre>
  
  <p>It returns ClassNotFoundException</p>
  
  <p>But I can create instances of other classes from same jar and can run same code outside eclipse without problem.  </p>
  
  <p>Any idea?</p>
  
  <p><strong>Edit:</strong> TransformerFactory instantiating class (say "class1") is part of an external library added in the plugin classpath wheras the xalan.jar is also in plugin classpath. If I move this "class1" into plugin, it finds the provider and works fine.</p>