Package: docbook-xsl
Version: 1.72.0.dfsg.1-1
Severity: normal

Hi,

with the attached example XML file, I encountered the following:

$ xsltproc -o eldoc.xml --stringparam wordml.template 
/usr/share/xml/docbook/stylesheet/nwalsh/roundtrip/template.xml 
/usr/share/xml/docbook/stylesheet/nwalsh/roundtrip/dbk2wordml.xsl el2.xml
copyright encountered in bookinfo, but no template matches.
runtime error: file 
/usr/share/xml/docbook/stylesheet/nwalsh/roundtrip/dbk2wp.xsl line 688 element 
value-of
Variable 'text' has not been declared.
xmlXPathCompOpEval: parameter error
xmlXPathCompiledEval: evaluation failed
runtime error: file 
/usr/share/xml/docbook/stylesheet/nwalsh/roundtrip/dbk2wp.xsl line 688 element 
value-of
XPath evaluation returned no result.
$

Thanks for considering,

Roland

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages docbook-xsl depends on:
ii  xml-core                      0.11       XML infrastructure and XML catalog

Versions of packages docbook-xsl recommends:
ii  docbook-xml              4.5-4           standard XML documentation system,
ii  docbook-xsl-doc-text [do 1.72.0.dfsg.1-1 stylesheets for processing DocBook

-- no debconf information
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
		      "http://nwalsh.com/docbook/xml/4.3/docbook.dtd";>
<book lang="de">
<bookinfo>
  <title>Mytitle</title>
  <subtitle>Subtitle</subtitle>
  <author><firstname>Roland</firstname><surname>Stigge</surname></author>
  <copyright><year>2007</year><holder>Antcom</holder></copyright>
</bookinfo>
<toc/>
<preface>
  <title>Preface</title>
  <para>
    Some Notes
  </para>
</preface>
<chapter>
  <title>Chaptertitle</title>
    <para>
      A para ...
    </para>
  <sect1><title>Architecture</title>
    <para>
      Another para ...
    </para>
  </sect1>
</chapter>

<bibliography>
  <biblioentry id="alig" xreflabel="ALIG">
    <title><ulink url="http://abc.com/content/";>A Site</ulink>
    </title>
    <copyright>
      <year>2007</year>
      <holder>Another Company</holder>
    </copyright>
  </biblioentry>
  
</bibliography>

<glossary>
  <glossentry>
    <glossterm>STH</glossterm>
    <glossdef>
      <para>
	Something
      </para>
    </glossdef>
  </glossentry>
</glossary>
</book>

Reply via email to