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=7118>.
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=7118

Param value clobbered when creating variable





------- Additional Comments From [EMAIL PROTECTED]  2002-03-20 13:38 -------
This also seems to affect global variables. The good news is it only seems to 
affect the last global variable or parameter you define, which makes a 
workaround very easy: include one last dummy global variable to protect 
the "real" ones, like so:

<xsl:stylesheet>
  <xsl:param name="important" select="'need this one intact'"/>
  <xsl:param name="necessary" select="'and this one'"/>
  <xsl:variable name="critical" select="'need this one too'"/>
  <xsl:variable name="dummy" select="'not used, so no problem if it gets 
clobbered'"/>

  <!--templates-->

Now, if any of them gets clobbered, it will be $dummy, and the others should be 
okay to use in the stylesheet.

Reply via email to