You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/02/27 16:05:37 UTC

DO NOT REPLY [Bug 6719] New: - Tomcat 4 docs build ant style tasks fail with Xalan 2.3.1

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6719>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6719

Tomcat 4 docs build ant style tasks fail with Xalan 2.3.1

           Summary: Tomcat 4 docs build ant style tasks fail with Xalan
                    2.3.1
           Product: XalanJ2
           Version: 2.3
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.transformer
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: glenn@apache.org


The Tomcat 4 build of its documentation located in CVS at
jakarta-tomcat-4.0/webapps/tomcat-docs/build.xml fails frequently 
when using Xalan 2.3.1. This worked under Xalan 2.2 and 2.2D versions.  

Here is an example ant style task which is failing, removing the param
element fixes the problem.  So the problem is related to performing
multiple transformations using the same stylesheet and passing a parameter
in.

    <style basedir="."
           destdir="${webapps.build}/${webapp.name}"
         extension=".html"
             style="tomcat-docs.xsl"
          excludes="build.xml project.xml"
          includes="*.xml">
      <param name="relative-path" expression="."/> 
    </style>

I have xercesImpl.jar, xml-apis.jar, and xalan.jar from the 2.3.1 release
in my classpath.  After it failed the first few times I removed jaxp.jar
and crimson.jar from the ant installation lib directory, the ant style tasks
in the build still failed.

JVM is Java 1.3.1.