projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53e9b5b
)
explicitly set the maximum number of nested template calls and variables/params to 250
author
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 8 Apr 2010 09:52:13 +0000
(09:52 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 8 Apr 2010 09:52:13 +0000
(09:52 +0000)
lib/ZOOM/IRSpy.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy.pm
b/lib/ZOOM/IRSpy.pm
index
13e6321
..
243c153
100644
(file)
--- 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);