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=9346>. 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=9346 xsl:apply-templates ignores parameters if select attribute contains document() Summary: xsl:apply-templates ignores parameters if select attribute contains document() Product: XalanJ2 Version: 2.3 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When using xsl:apply-templates in the following way, parameters passed to the template are ignored (not set): <xsl:template match="abc"> <xsl:apply-templates select="document('def.xml')" mode="xyz"/> <xsl:with-param name="max_entries" select="'this value is not passed'"/> </xsl:apply-templates> </xsl:template> <xsl:template match="def" mode="xyz"> <xsl:param name="max_entries"/> XXX <xsl:value-of select="$max_entries/> XXX </xsl:template> The document "def.xml" contains a root node "def". The follwing output is produced: XXX XXX That means, the parameter is not passed. regards, Stefan
