Hi,

I am new to Java and XSLT Extensions. I am trying to implement an extension
which stores and receives information from a hash Table. I am trying to do
this with FOP 0.94:

http://www.ibm.com/developerworks/library/x-callbk/index.html?open&l=976,t=gr#download

I receive the following error:

Mar 8, 2008 7:46:57 AM org.apache.fop.cli.Main startFOP
SEVERE: Exception
javax.xml.transform.TransformerException: java.lang.NoSuchMethodException:
For e
xtension function, could not find method
java.lang.String.addString([ExpressionC
ontext,] #STRING, #STRING).

I have added xalan in the classpath. e.g. java -classpath
C:/XSL_Callbacks/lib/xalan.jar -jar 
build/fop.jar Fop -xml foo.xml -xsl foo.xsl -pdf foo.pdf 


In my XSLT I declare the namespace:

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:fo="http://www.w3.org/1999/XSL/Format";
xmlns:lookup="xalan://StringHash">

I orginally posted this in the FOP forum by I moved it to here. I believe
that I might be using an older version of Xalan...But I am not sure.
I am a bit lost. Any help would be great. Thx


-- 
View this message in context: 
http://www.nabble.com/Hash-Tables-and-XSLT-extention-tp15912882p15912882.html
Sent from the Xalan - J - Users mailing list archive at Nabble.com.

Reply via email to