explicitly set the maximum number of nested template calls and variables/params to 250
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 8 Apr 2010 09:52:13 +0000 (09:52 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 8 Apr 2010 09:52:13 +0000 (09:52 +0000)
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);