[xsl] jd.xsltc translet performs System.exit ?

Subject: [xsl] jd.xsltc translet performs System.exit ?
From: Burghard Güther <xsl-list@xxxxxxxxxx>
Date: Thu, 14 Aug 2003 23:28:52 +0200

I want to run a translet generated by jd.xsltc via a java-program 
several times in a loop. It seems that only the first pass is done 
and after this the program stops. Does the translet do this? How 
can I prevent it from doing so?

In the following code "hello1" is printed only one time, "hello2" 
doesn't get printed at all. Diml2cmsTranslet is the translet created 
by jd.xsltc (Version 1.0, released 13 May 2003).

     for(int s=0; s<parts.getLength(); s++) {

       [ ... ]
       Diml2cmsTranslet cmstranslet = new Diml2cmsTranslet();
       String transletarguments[];
       transletarguments = new String[6];
       transletarguments[0]= "-out";
       transletarguments[1]= cmsContainerFile;
       transletarguments[2]= "-param";
       transletarguments[3]= "SELECTID";
       transletarguments[4]= "'" + id + "'";
       transletarguments[5]= dimlFileName;


     } // end for

Hope thats not a too stupid question, 

Burghard ;)

Wer nichts weiß, muss alles glauben. (Marie von Ebner-Eschenbach)

Burghard Guether


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread