Bug 5375 - import does not work if the page parameter is set by java variable
Summary: import does not work if the page parameter is set by java variable
Status: CLOSED FIXED
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Unknown Taglib (show other bugs)
Version: unspecified
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-12 04:49 UTC by S
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

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