xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan_K <peterkan...@freenet.de>
Subject fn:matches() / could not find method java.lang.String.matches([ExpressionContext,] #STRING, #STRING)
Date Wed, 25 Apr 2012 06:59:09 GMT

Hi there,

can`t use fn:matches() with FOP 1.0 -
http://www.w3.org/TR/xpath-functions/#func-matches
I would appreciate any help/ideas/suggestions!

(Full code see attatchment)		
002:<xsl:stylesheet version="1.0"
008:                xmlns:fn="http://www.w3.org/2005/xpath-functions"
009:                xmlns:xs="http://www.w3.org/2001/XMLSchema"
010:                xmlns:err="http://www.w3.org/2005/xqt-errors"

212:<xsl:value-of select="fn:matches('ABC','a','i')" />

Fails with:
25.04.2012 08:30:45 org.apache.fop.cli.Main startFOP
SCHWERWIEGEND: Exception
org.apache.fop.apps.FOPException: java.lang.NoSuchMethodException: For
extension function, could not find method
java.lang.String.matches([ExpressionContext,] #STRING, #STRING).
javax.xml.transform.TransformerException: java.lang.NoSuchMethodException:
For extension function, could not find method
java.lang.String.matches([ExpressionContext,] #STRING, #STRING).
http://old.nabble.com/file/p33744669/xsl_tut_2012-04-24.xsl
xsl_tut_2012-04-24.xsl 
-- 
View this message in context: http://old.nabble.com/fn%3Amatches%28%29---could-not-find-method-java.lang.String.matches%28-ExpressionContext%2C---STRING%2C--STRING%29-tp33744669p33744669.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Mime
View raw message