From: Wolfram Schneider Date: Thu, 8 Apr 2010 09:52:13 +0000 (+0000) Subject: explicitly set the maximum number of nested template calls and variables/params to 250 X-Git-Tag: CPAN-v1.02~148^2~26 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=9286e13ef0adb5c2834baf0d9606822728e7d8c5;hp=4bd5f04559027397a50194867762356c3c423129 explicitly set the maximum number of nested template calls and variables/params to 250 --- diff --git a/lib/ZOOM/IRSpy.pm b/lib/ZOOM/IRSpy.pm index 13e6321..243c153 100644 --- a/lib/ZOOM/IRSpy.pm +++ b/lib/ZOOM/IRSpy.pm @@ -77,6 +77,9 @@ sub new { my $xslt = new XML::LibXSLT; + # raise the maximum number of nested template calls and variables/params (default 250) + $xslt->max_depth(250); + $xslt->register_function($ZOOM::IRSpy::Utils::IRSPY_NS, 'strcmp', \&ZOOM::IRSpy::Utils::xslt_strcmp);