[xml/sgml-pkgs] Bug#499200: xmlto: cannot parse XSLTPARAMS

Zed Pobre zed at debian.org
Tue Sep 16 23:23:00 UTC 2008


Package: xmlto
Version: 0.0.20-2
Severity: important

Any attempt to use --stringparam with xmlto results in the following
four lines:

warning: failed to load external entity "XSLTPARAMS"
cannot parse XSLTPARAMS
Variable $SGML_CATALOG_FILES not set
warning: failed to load external entity "XSLTPARAMS"
cannot parse XSLTPARAMS

Specifically, the line I wanted to execute was:

xmlto --skip-validation --stringparam generate.toc=0 xhtml-nochunks paragraphs.dbk

The following commands work as expected, so it isn't my document:

xmlto --skip-validation xhtml-nochunks paragraphs.dbk

xsltproc -o paragraphs.html --stringparam generate.toc 0 /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl paragraphs.dbk

The document validates fine against its RELAX NG schema.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (850, 'unstable'), (650, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.17-2-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xmlto depends on:
ii  debianutils              2.28.5          Miscellaneous utilities specific t
ii  docbook-xml              4.5-5           standard XML documentation system,
ii  docbook-xsl              1.73.2.dfsg.1-4 stylesheets for processing DocBook
hi  libc6                    2.7-10          GNU C Library: Shared libraries
ii  libxml2-utils            2.6.27.dfsg-1   XML utilities
ii  sgml-base                1.26            SGML infrastructure and SGML catal
ii  xsltproc                 1.1.24-2        XSLT command line processor

Versions of packages xmlto recommends:
ii  libpaper-utils                1.1.23     library for handling paper charact

-- no debconf information





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