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=3446 *** shadow/3446 Wed Sep 5 16:11:55 2001 --- shadow/3446.tmp.13198 Wed Sep 5 16:11:55 2001 *************** *** 0 **** --- 1,30 ---- + +============================================================================+ + | Previously defined variable not accessible | + +----------------------------------------------------------------------------+ + | Bug #: 3446 Product: XalanJ2 | + | Status: NEW Version: 2.2.x | + | Resolution: Platform: All | + | Severity: Critical OS/Version: All | + | Priority: Other Component: org.apache.xalan.templa | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + With Xalan-j_2_2_D10, a variable that was just declared is not accessible in a + following statement. This template: + + <xsl:template match="/"> + <variable name="foo">data1</variable> + <variable name="bar"> + <xsl:value-of select="$foo"/> + </variable> + </xsl:template> + + Produces the error: + + XSLT Error (javax.xml.transform.TransformerConfigurationException): Could not + find variable with the name of foo
