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

missing error-reports for xsl:variable xsl:param

           Summary: missing error-reports for xsl:variable xsl:param
           Product: XalanC
           Version: 1.5
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XalanC
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


missing error-reports from xalan for:
* redefinition of xsl:param in the same scope
* using select and body for value for xsl:param as well as xsl:variable

test-stylesheet:
    <xsl:output method="text"/>
    <xsl:template match="/">
        <!-- concerning xsl:param -->
        <xsl:param name="myParam" select="'VALUE-1'"/>
        <xsl:value-of select="$myParam"/>
        <!-- the following is an error -->
        <xsl:param name="myParam" select="'VALUE-2'"/>
        <xsl:value-of select="$myParam"/>
        
        <!-- this is an error too -->
        <xsl:param name="anyParam" select="whatever">another value</xsl:param>
        
        <!-- concerning xsl:variable -->
        <xsl:variable name="anyName" select="whatever">another value</xsl:variable>
    </xsl:template>

Reply via email to