[xml/sgml-pkgs] Bug#460681: xsltproc: doc for --maxdepth incorrectly define the max number to 500 instead of 3000

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Jan 14 14:42:11 UTC 2008


Package: xsltproc
Version: 1.1.19-1
Severity: minor


When xsltproc apply recursively template and reach the max depth number
it complains with:

runtime error: file DefaultDicts.xsl line 128 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
3000).
Templates:

whereas the documentation says:

     --maxdepth VALUE
              Adjust the maximum depth of the template stack before
libxslt(3)
              concludes it is in an infinite loop. The default is 500.


Thanks,
-Mathieu


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-686-bigmem
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xsltproc depends on:
ii  libc6                      2.5-9+b1      GNU C Library: Shared libraries
ii  libgcrypt11                1.2.3-2       LGPL Crypto library - runtime libr
ii  libgpg-error0              1.4-1         library for common error values an
ii  libxml2                    2.6.27.dfsg-1 GNOME XML library
ii  libxslt1.1                 1.1.19-1      XSLT processing library - runtime 

-- debconf-show failed





More information about the debian-xml-sgml-pkgs mailing list