explicitly set the maximum number of nested template calls and variables/params to 250
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy.pm
index 13e6321..243c153 100644 (file)
@@ -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);