Red Hat Bugzilla – Bug 579786
large doc fails to build: potential infinite template recursion
Last modified: 2010-11-23 23:18:33 EST
Description of problem:
building large doc fails with:
> runtime error: file
> line 413 element param
> xsltApplyXSLTTemplate: A potential infinite template recursion was detected.
> You can adjust xsltMaxDepth (--maxdepth) in order to raise the
> maximum number of nested template calls and variables/params
> (currently set to 1000).
Version-Release number of selected component (if applicable):
1.6.1 or higher
always on large doc; on publican-list Josh Kayse reports that he
tried multiple brands
Steps to Reproduce:
1. successfully build large doc with previous version
2. do not modify document
3. fail to build using current publican version
fails to build with error shown above
doc should build
Josh Kayse also experienced error and provided work-around:
"Changing line 704 of
/usr/lib/perl5/vendor_perl/5.10.0/Publican/Builder.pm from 1000 to
10000 allows me to build my 400+ page document.
I don't know that it is the correct action, but it will work for me for now."
Josh's workaround works for me, too, on my 335-page doc.
Note that `rpm -ql publican | xargs grep xsltMaxDepth' fails to show anything relevant.
This is actually caused by the same issue as 577068
*** This bug has been marked as a duplicate of bug 577068 ***