Bug 4304

Summary: Xalan v2 version compatibility issues, and label issues
Product: Taglibs Reporter: Christian Winebrenner <apache-bugzilla>
Component: Unknown TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: CLOSED FIXED    
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description Christian Winebrenner 2001-10-19 20:42:02 UTC
The version of Xalan that is required by the XSL taglib is not clear, nor is the version that is included with the taglib clear.  Installing the current version of Xalan available from xml.apache.org, 2.2.D11 (and the version of Xerces included with that package), doesn't seem to work with the taglib file - it throws a SAX exception attempting to use an apply tag like:

<xsl:apply xml="file.xml" xsl="file.xsl"/>

This is using Tomcat 4.0.1, Xalan 2.2.D11 (with the version of Xerces included with this release of Xalan, plus using the xalanj1compat.jar file included in the /bin directory of the Xalan dist), JDK 1.3.1_01, and the XSL taglib nightly build from 18-Oct-2001.  If the Xalan and Xerces files that are included with the taglib are used, though, things work ok.

What I would like to see is this:
1.) Clear labeling of the version of Xalan / Xerces included in the xsl-examples.war application file.
2.) Updated documentation, in the xsl-doc.war application file, to reflect the change from InsertWithXSL to apply for the tag to include transformed XML.
3.) Nice support for the current version of Xalan (v2), instead of the (I'm guessing?) an old version (v1).
Comment 1 Glenn Nielsen 2002-04-06 16:03:01 UTC
Thanks for the feedback, sorry it took so long to get back to you.
No one has been maintaining this taglib.

I have overhauled the documentation to handle items 1&2.

For Xalan 2 compatability I recommend using the XTAGS or Standard taglib.
The XSL taglib will be deprecated in the future, and these two taglibs
have more features for handling XSL.