[ http://issues.apache.org/jira/browse/XALANC-543?page=all ]
David Bertoni reassigned XALANC-543: ------------------------------------ Assign To: David Bertoni > Crash when calling a template that wrongly uses xsl:with-param instead of > xsl:param to declare its parameter. > ------------------------------------------------------------------------------------------------------------- > > Key: XALANC-543 > URL: http://issues.apache.org/jira/browse/XALANC-543 > Project: XalanC > Type: Bug > Components: XalanC > Versions: 1.9 > Environment: win2k on ix86. > Reporter: Alain Le Guennec > Assignee: David Bertoni > Attachments: patch.txt > > Consider the following stylesheet (the actual input document does not matter): > <?xml version="1.0" encoding = "ISO-8859-1"?> > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:exsl="http://exslt.org/common"> > <xsl:template match="/"> > <xsl:call-template name="T1"> > <xsl:with-param name="foobar" select="."/> > </xsl:call-template> > </xsl:template> > <xsl:template name="T1"> > <xsl:with-param name="foobar"/> > <!-- Should have been xsl:param !!! --> > <!-- This should cause an error, not a crash. --> > </xsl:template> > </xsl:stylesheet> > Xalan should report an error when xsl:with-param is used instead of xsl:param > in the declaration of template "T1". > Instead, this leads to a crash when the template is called. > Best regards, > Alain Le Guennec. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]