Bug 5375

Summary: import does not work if the page parameter is set by java variable
Product: Taglibs Reporter: S <scrooge>
Component: Unknown TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: CLOSED FIXED    
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description S 2001-12-12 04:49:42 UTC
The <%=dynXSLT%> is not evaluated and the value is not inserted as if one
is using it in xsl:apply (for a fixed file).

**** CODE START ****
        String dynXSLT = "/servlet/getXSLT?id=23";

<xsl:import id="myxml" page="/xml/employees.xml"/>
<xsl:import id="myxsl" page="<%=dynXSLT%>"/>

<xsl:apply nameXml="myxml" nameXsl="myxsl"/>
**** CODE END ****
Comment 1 Glenn Nielsen 2002-04-06 16:15:22 UTC
Thanks for reporting this.  I have enabled rtexprvalue in the tld for both
the import and include page attributes.  Available in the next nightly build.