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

XSL Validation broke under Java 2 runtime 1.4.0 beta 3

           Summary: XSL Validation broke under Java 2 runtime 1.4.0 beta 3
           Product: XalanJ2
           Version: 2.2.x
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Here is a simple script.  The compile should fail due to error at line 17.  
However, when running Xalan 2.2.D11 under Java 2 Runtime 1.4.0 beta 3, the 
error was skipped.

-------------------------------------------------------------------------------
<xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    xmlns="http://www.w3.org/1999/xhtml";     
    version="1.0">

<xsl:template match="/">
    <xsl:call-template name="test">
       <xsl:with-param name="param1">111</xsl:with-param>
       <xsl:with-param name="param2">222</xsl:with-param>
    </xsl:call-template>
</xsl:template>

<xsl:template name="test">
    <xsl:param name="param1"/>
    <xsl:variable name="var1" select="$param1"/>
    <xsl:param name="param2"/>


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

</xsl:template>

</xsl:stylesheet>

Reply via email to