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 2003/02/26 19:11:11 UTC

DO NOT REPLY [Bug 17444] New: - Error if xsl:variable has an xsl:variable child

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

Error if xsl:variable has an xsl:variable child

           Summary: Error if xsl:variable has an xsl:variable child
           Product: XalanJ2
           Version: 2.2.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.processor
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: lptr@sch.bme.hu


The variable defined last gets overwritten if a a variable is defined inside 
another variable, like this:

<xsl:variable name="foo">

  <xsl:variable name="bar">john</xsl:variable>

  <xsl:value-of select="$bar"/>

</xsl:variable>

The variable defined last gets overwritten with "john". Maybe it has something 
to do with including stylesheets, maybe not.