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=7556>. 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=7556 Memory grows while transforming Summary: Memory grows while transforming Product: XalanC Version: 1.3.x Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Take *big* XML-Document an apply with testXSLT the stylesheet appended. If I use <xsl:with-param name="arg1"> <xsl:value-of select="substring(.,2)"/> </xsl:with-param> to pass the parameter the memory grows while transorming. The whole Stylesheet for example: <xsl:output method="xml"/> <xsl:template match="*"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:call-template name="foo"> <!-- no memory grow <xsl:with-param name="arg1" select="substring(.,2)"/> --> <!-- memory grow --> <xsl:with-param name="arg1"> <xsl:value-of select="substring(.,2)"/> </xsl:with-param> </xsl:call-template> <xsl:apply-templates/> </xsl:copy> </xsl:template> <xsl:template name="foo"> <xsl:param name="arg1"/> <xsl:value-of select="$arg1"/> </xsl:template> <xsl:template match="text()"> <xsl:copy/> </xsl:template> </xsl:stylesheet>
