Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Question on XSLTInputSource and NetBeans IDE 3.5.1

 
Ranch Hand
Posts: 681
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First question is what jar file contains the class XSLTInputSource,
according to documentation it is found in org.apache.xalan.xslt.XSLTInputSource.
But in the netbeans you have xalan.jar and xalan-2.3.1.jar, it seems I have unpacked both jars it seems that via an XML file org-netbeans-libs-xalan
<?xml version="1.0" encoding="UTF-8"?>
<module codename="org.netbeans.libs.xalan/1">
<module_version install_time="1059616121991" last="true" origin="installer" specification_version="1.1.1">
<file crc="2207781918" name="modules/autoload/xalan.jar"/>
<file crc="3582235473" name="modules/autoload/ext/xalan-2.3.1.jar"/>
</module_version>
</module>
The xalan-2.3.1.jar is called, unpacking this jar file under org.apache.xalan.xslt it contains only two class files EnvironmentCheck and processes.
I have downloaded another xalan.jar from http://www.apache.org/ but it did not contain the XSLTInputSource class.
Not to sure what do do, if any Netbeans programmers have used the XSLTInputSource class, let me know what jar you used and how you set up netbeans to see it.
Thanks Tony
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am also facing same problem. I am not able to find many classes.
org.apache.xalan.xslt.XSLTProcessor processor
org.apache.xalan.xslt.XSLTProcessorFactory
org.apache.xalan.xslt.XSLTInputSource
org.apache.xalan.xslt.XSLTInputSource
org.apache.xalan.xslt.XSLTResultTarget

I am trying to run program


If I addrf weblogic.jar to my project and try to run this above mentioned program. I got below mention exception:

Exception in thread "main" java.lang.ClassCastException: com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
at weblogic.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1531)
at weblogic.apache.xalan.xslt.XSLTEngineImpl.getSourceTreeFromInput(XSLTEngineImpl.java:816)
at weblogic.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:390)
at SimpleXalan1.main(SimpleXalan1.java:49)



Which jars I need to add in project. And from where I can download these jars.

Thanks & regards,
Amit Jain
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic