You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/05/08 19:33:17 UTC

DO NOT REPLY [Bug 7118] - Param value clobbered when creating variable

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

David_Marston@lotus.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|xalan-dev@xml.apache.org    |keshlam@us.ibm.com
           Severity|Normal                      |Major
           Keywords|                            |TestID
           Priority|Medium                      |High



------- Additional Comments From David_Marston@lotus.com  2002-05-08 17:33 -------
The new test variable67 gives a trim representation of the situation. Basics:
<xsl:variable name="index" select="'okay'"/><!-- Global gets clobbered -->
<xsl:variable name="source"><!-- Another global... -->
  <xsl:variable name="joke1" select="'error'" />
  <xsl:variable name="joke2" select="'bug'"/>

After setting joke1, all is well. Setting joke2 clobbers index. Note that
neither joke variable is ever called upon to be evaluated, yet index takes on
the value 'bug'. Lazy evaluation isn't avoiding this problem.