You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Ing. Thomas Margreiter" <tm...@felder.at> on 2005/06/13 09:09:20 UTC

barcode4J Demo does not run !

i just started a download of barcode4j and tried the xml-fop demo 
invoice   located in the examples/xsl-fo directory !

but the demo does not work !
i always get the error:
javax.xml.transform.TransformerException: 
java.lang.NoSuchMethodException: For extension function, could not find 
method 
org.apache.xalan.lib.ExsltDatetime.formatDate([ExpressionContext,] 
#NODESET, #STRING).




-- 

Re: barcode4J Demo does not run !

Posted by Jeremias Maerki <de...@greenmail.ch>.
I'm sorry Thomas, but this is not the support hotline for Barcode4J.
That's actually found here: http://sourceforge.net/mail/?group_id=96670

But since I'm here anyway, I can just as well answer that question:
You seem to be using an XSLT processor that doesn't support EXSLT
extensions [1]. Recent versions of Xalan-J, for example, support them.
EXSLT can be added into many XSLT implementations but this requires
modification of the stylesheet AFAIK. If you can't (or don't want to)
switch the XSLT implementation you can also simply remove the date
formatting call in the stylesheet. It doesn't affect the demo for
Barcode4J. In this light I will probably remove the EXSLT routine from
that demo. It's seems to be safer.

[1] http://www.exslt.org/

On 13.06.2005 09:09:20 Ing. Thomas Margreiter wrote:
> i just started a download of barcode4j and tried the xml-fop demo 
> invoice   located in the examples/xsl-fo directory !
> 
> but the demo does not work !
> i always get the error:
> javax.xml.transform.TransformerException: 
> java.lang.NoSuchMethodException: For extension function, could not find 
> method 
> org.apache.xalan.lib.ExsltDatetime.formatDate([ExpressionContext,] 
> #NODESET, #STRING).
> 
> 
> 
> 
> -- 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org