From 9286e13ef0adb5c2834baf0d9606822728e7d8c5 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Thu, 8 Apr 2010 09:52:13 +0000 Subject: [PATCH] explicitly set the maximum number of nested template calls and variables/params to 250 --- lib/ZOOM/IRSpy.pm | 3 +++ 1 file changed, 3 insertions(+) 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); -- 1.7.10.4