Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Getting StackOverflow with xalan!

Thread Tools

Getting StackOverflow with xalan!

Posts: n/a

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;

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

java -Djava.endorsed.dirs=../lib\ -cp

(all them classes are needed otherwise i get NoClassDefFound on

if i use my own java class i get JavaStackOverFlow,

Reply With Quote
Posts: n/a
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.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java question and pathetic experience Java 3 11-02-2009 02:19 AM
Visual Studio: StackOverflow Rob Meade ASP .Net 23 11-06-2005 12:18 AM
getting stackoverflow error when using ObjectInputStream Efrat Ben-David Java 2 09-26-2004 01:35 PM
Java Regular Expression throws StackOverflow Exception sravan Java 2 09-03-2004 08:58 PM
StackOverflow Exception in JNI Bryan Castillo Java 6 06-11-2004 05:33 PM