Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

Getting StackOverflow with xalan!

Thread view: 
Elhanan - 10 May 2006 21:21 GMT
hi..

i've been trying to use xalan to transform an xml file.

my xslt is NOT recursive, it's i do  use call-templates. and on each
one i call document function (but on the same file)

the strange thing is that if  i use
java -cp .;..\lib\xercesImpl.jar;..\xalan.jar;
org.apache.xalan.xslt.Process

it's goes ok but if i use with this: (my own class)

java  -Djava.endorsed.dirs=../lib\ -cp
../lib/classes12.jar;../lib/compass.jar;../lib/dom.jar;../lib/jaxb-api.jar;../lib/jaxb-impl.jar;../lib/jaxb-libs.jar;../lib/jaxb-xjc.jar;../lib/jaxp-api.jar;../lib/relaxngDatatype.jar;../lib/sax.j

(all them classes are needed otherwise i get NoClassDefFound  on
NameSpaceContext

if i use my own java class i get JavaStackOverFlow,
Elhanan - 10 May 2006 22:32 GMT
ok i think i got it..

i included  jaxb-xjc (the same project also uses jaxb) which forced me
ot add java.endorsed.dir property to my lib files (otherwise i got an
exception on getSchema Method)

after removing both ,it worked, i always thought i needed xjc for
buidling the ant, so included it in my eclipse.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.