xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Blough (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (XALANC-752) Recursive xsl:call-template exhausts memory
Date Wed, 25 Sep 2013 06:43:08 GMT

    [ https://issues.apache.org/jira/browse/XALANC-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13777202#comment-13777202
] 

Bill Blough commented on XALANC-752:
------------------------------------

The user that originally reported this stated

"Note that xsltproc doesn't have this problem, as libxslt has infinite
template recursion detection (thanks to xsltMaxDepth)."

So that is, perhaps, one way to deal with the issue.
                
> Recursive xsl:call-template exhausts memory
> -------------------------------------------
>
>                 Key: XALANC-752
>                 URL: https://issues.apache.org/jira/browse/XALANC-752
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: 1.11
>         Environment: Debian GNU/Linux
>            Reporter: Bill Blough
>            Assignee: Steven J. Hathaway
>            Priority: Critical
>
> Forwarded from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718315
> When using the following template, recursion occurs in an unbounded fashion, eventually
exhausting all memory.
> $ cat test.xsl
> <xsl:stylesheet version="1.0"
>                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> <xsl:template match="/" name="add">
>   <xsl:call-template name="add"/>
> </xsl:template>
> </xsl:stylesheet>
> To reproduce:
> $ TestXSLT -in test.xsl -xsl test.xsl
> The Xalan executable exhibits the same behavior.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org


Mime
View raw message