Bug 4304 - Xalan v2 version compatibility issues, and label issues
Summary: Xalan v2 version compatibility issues, and label issues
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Unknown Taglib (show other bugs)
Version: 1.0
Hardware: PC All
: P3 normal with 3 votes (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2001-10-19 20:42 UTC by Christian Winebrenner
Modified: 2005-03-20 17:06 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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.