i migrating , old web application tomcat 4.0 was 6.1.
we use lot of xslt transformations (simplificated):
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/xsl/transform" version="1.0" xmlns:java="com.map.agro.util"> <xsl:variable name="lawebapp"> <xsl:value-of select="java:getctx('back')"/> </xsl:variable> <xsl:template match="row"> <a><xsl:attribute name="href">/<xsl:value-of select="$lawebapp"/>/search.jsp</a> </xsl:template> </xsl:stylesheet>
it works in tomcat 4.0, not in 6.1, complains with:
xsl-1000: (fatal error) error while parsing xsl file (extension function namespace should start 'http://www.oracle.com/xsl/transform/java/'.).
i've tried several variations found in google without success.
does know happening here , how solve it?
(what .jar library responsible of xslt transformations?)
thanks
problem solved,
in classpath, there library called xmlparserv2.jar, "problematic" xslt processor (under javax.xml.transform basis).
removing project, thing.
now, other library xslt transformation (under org.apache.xalan.xslt basis).
this post helped me lot: what processor javax.xml.transform using?
Comments
Post a Comment