After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711543 - xsltproc --maxvars option not working
xsltproc --maxvars option not working
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-06 12:28 UTC by Per Hedeland
Modified: 2013-12-13 13:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix to accept --maxvars (548 bytes, patch)
2013-11-06 12:28 UTC, Per Hedeland
none Details | Review

Description Per Hedeland 2013-11-06 12:28:14 UTC
Created attachment 259066 [details] [review]
fix to accept --maxvars

xsltproc kindly and correctly suggests:

xsltApplyXSLTTemplate: A potential infinite template recursion was detected.
You can adjust maxTemplateVars (--maxvars) in order to raise the maximum number of variables/params (currently set to 15000).

Unfortunately it doesn't work - passing '--maxvars 20000' results in:

warning: failed to load external entity "20000"
cannot parse 20000

Patch attached (and 20000 worked:-).

--Per Hedeland