Discussion:
xsl:param problem in db2latex files
Jeffrey B. Green
2007-06-28 23:09:55 UTC
Permalink
Hi,

The following error occurs with file given below. The file is a trimmed down version of
a db2latex sample file (test_book).

The following link suggests to me that the xsl:param is now incorrect (towards the bottom of
the bug report).

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401337

-jeff

................................... error .......................................

################################################################################
XSLT stylesheets DocBook - LaTeX 2e
Reqs: LaTeX 2e installation common packages
################################################################################
RELEASE : 0.8pre1
VERSION : $Id: VERSION.xml,v 1.6 2004/01/31 12:47:11 j-devenish Exp $
TAG : DB2LATEX_0_8PRE1
WWW : http://db2latex.sourceforge.net
SUMMARY : http://www.sourceforge.net/projects/db2latex
AUTHOR : Ramon Casellas ***@infres.enst.fr
AUTHOR : James Devenish j-***@users.sf.net
USING : libxslt/xsltproc
################################################################################
runtime error: file /usr/share/xml/docbook/stylesheet/db2latex/latex/lists.mod.xsl line 273 element param
Unexpected XSLT element 'param'.
runtime error: file /usr/share/xml/docbook/stylesheet/db2latex/latex/lists.mod.xsl line 274 element value-of
Variable 'object' has not been declared.
xmlXPathCompOpEval: parameter error
xmlXPathCompiledEval: evaluation failed
runtime error: file /usr/share/xml/docbook/stylesheet/db2latex/latex/lists.mod.xsl line 274 element value-of
XPath evaluation returned no result.


................................... xml file .......................................

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE book SYSTEM "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<book id="book" lang="en" status="draft">
<bookinfo>
<title>Thèses et Thésards</title>
</bookinfo>
<toc/>
<part>
<title>Part One Title</title>
<chapter>
<title>List Tests</title>
<sect1>
<title>OrderedLists</title>
<variablelist>
<title>Font Filename Extensions</title>
<varlistentry><term><filename>TTF</filename></term>
<listitem>
<para>
TrueType fonts.
</para>
</listitem>
</varlistentry>
</variablelist>
</sect1>
</chapter>
</part>
</book>

Loading...