xsl-list
[Top] [All Lists]

Re: xslt.jd param in java (product specific)

2003-08-24 13:38:41
Hello Johannes,

Johannes Döbler wrote:

jd.xslt does not contain any error message of the form "No xxx or element
of xxx= not found!".

ooops, I'm sorry, this errormessage was created by the stylesheet! 
(I did just a part of the programming.)

I reduced the java-code to a minimum to isolate the error and after 
that the transfer of the param to the stylesheet suddenly worked.
So I have to investigate what this is causing by myself.

I'm terribly sorry for the time this wasted.

Btw: is a stylesheet which gets transformed into a not compile-able 
translet by jd.xsltc to any interest for you? The error while 
compiling with javac is caused by double definitions of variables in 
java. This may be caused by double definitions in XSL. 

In java it looks like this:

private static final NumberingFormat numberingFormat0_ = new 
NumberingFormat("1");
private static final NumberingFormat numberingFormat1_ = new 
NumberingFormat("a");
private static final NumberingFormat numberingFormat2_ = new 
NumberingFormat("A");
private static final NumberingFormat numberingFormat3_ = new 
NumberingFormat("i");
private static final NumberingFormat numberingFormat4_ = new 
NumberingFormat("I");
private static final NumberingFormat numberingFormat5_ = new 
NumberingFormat("1");
private static final NumberingFormat numberingFormat5_ = new 
NumberingFormat("I");
private static final NumberingFormat numberingFormat5_ = new 
NumberingFormat("A");
private static final NumberingFormat numberingFormat5_ = new 
NumberingFormat("a");
private static final NumberingFormat numberingFormat5_ = new 
NumberingFormat("i");

Burghard

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

Burghard Guether
xsl-list(_at_)guether(_dot_)de

http://www.guether.de/

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



<Prev in Thread] Current Thread [Next in Thread>