You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/06/05 02:34:11 UTC
DO NOT REPLY [Bug 29401] New: -
xslt extension functions with bsf broken due to xalan-2.6 / bsf-2.3 conflict
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29401>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29401
xslt extension functions with bsf broken due to xalan-2.6 / bsf-2.3 conflict
Summary: xslt extension functions with bsf broken due to xalan-
2.6 / bsf-2.3 conflict
Product: Cocoon 2
Version: 2.1.5
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: core
AssignedTo: dev@cocoon.apache.org
ReportedBy: brobertson@mta.ca
xsl comprising extension functions implemented through BSF will throw an error
indicating that the required com.ibm.bsf class cannot be found. In fact, the
namespace of bsf has changed from com.ibm.bsf to org.apache.bsf in the switch
from bsf-2.2.jar, which was in cocoon-2.1.4 and bsf-2.3.jar, which is provided
in the bsf block of cocoon-2.1.5 It seems that xalan-2.6, a core component of
cocoon-2.1.5, was compiled against the com.ibm.bsf version, and this causes the
error.
Temporary solution is to add a bsf-2.2.jar file to build/webapp/WEBINF/lib. In
the future, perhaps testing should be done for extension functions in xslt.