PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3331 *** shadow/3331 Tue Aug 28 22:51:20 2001 --- shadow/3331.tmp.23918 Tue Aug 28 23:27:19 2001 *************** *** 2,9 **** | Passing variables to <apply-templates> sometimes fails | +----------------------------------------------------------------------------+ | Bug #: 3331 Product: XalanJ2 | ! | Status: NEW Version: CurrentCVS | ! | Resolution: Platform: PC | | Severity: Normal OS/Version: Windows NT/2K | | Priority: Other Component: org.apache.xalan | +----------------------------------------------------------------------------+ --- 2,9 ---- | Passing variables to <apply-templates> sometimes fails | +----------------------------------------------------------------------------+ | Bug #: 3331 Product: XalanJ2 | ! | Status: RESOLVED Version: CurrentCVS | ! | Resolution: INVALID Platform: PC | | Severity: Normal OS/Version: Windows NT/2K | | Priority: Other Component: org.apache.xalan | +----------------------------------------------------------------------------+ *************** *** 77,80 **** <xent>Test is yeah baby</xent><xent>Test is yeah baby</xent> <xent>Test is yeah baby</xent><xent>Test is yeah baby</xent> on its own ! </foobar> --- 77,97 ---- <xent>Test is yeah baby</xent><xent>Test is yeah baby</xent> <xent>Test is yeah baby</xent><xent>Test is yeah baby</xent> on its own ! </foobar> ! ! ------- Additional Comments From [EMAIL PROTECTED] 2001-08-28 23:27 ------- ! XalanJ is operating correctly. Since you haven't supplied a select attribute, ! the xsl:apply-templates in your "/table" template processes only the ! immediate children of the table element. These are: a text node, <bozo>, a ! text node, <row>, a text node, <row>, a text node, <row>, a text node, <entry>, ! and a text node. The xsl:with-param specified will be passed to the template ! that each child matches. Since none of these were specified in your XSLT, ! XalanJ uses the built-in template rules contained in section 5.8 of the XSLT ! Recommendation. None of these contain an xsl:param element so the parameters ! are never received by these templates. The built-in templates for the elements, ! in turn, invoke xsl:apply-templates on each of their children but do not pass ! any parameters. This is why you're not seeing the parameters in your output. ! ! If you don't understand how this works, please post here and I'll try to help. ! ! Gary
