[xml/sgml-pkgs] Bug#337706: marked as done (xsltproc: XPath error : Undefined variable)

Debian Bug Tracking System owner at bugs.debian.org
Mon Dec 5 06:18:05 UTC 2005


Your message dated Mon, 5 Dec 2005 07:10:02 +0100
with message-id <20051205061002.GA11696 at glandium.org>
and subject line xsltproc: XPath error : Undefined variable
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Nov 2005 21:10:42 +0000
>From hardy at acm.org Sat Nov 05 13:10:42 2005
Return-path: <hardy at acm.org>
Received: from mta2.entelnet.bo (huayna2.entelnet.bo) [200.87.100.32] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EYVJB-0003q2-00; Sat, 05 Nov 2005 13:10:41 -0800
Received: from conversion-daemon.huayna2.entelnet.bo by huayna2.entelnet.bo
 (Sun Java System Messaging Server 6.1 HotFix 0.11 (built Jan 28 2005))
 id <0IPI00C0101QIM00 at huayna2.entelnet.bo> (original mail from hardy at acm.org)
 for submit at bugs.debian.org; Sat, 05 Nov 2005 17:10:08 -0400 (BOT)
Received: from [200.87.150.91] by huayna2.entelnet.bo
 (Sun Java System Messaging Server 6.1 HotFix 0.11 (built Jan 28 2005))
 with ESMTP id <0IPI00D032SLHE00 at huayna2.entelnet.bo> for
 submit at bugs.debian.org; Sat, 05 Nov 2005 17:10:06 -0400 (BOT)
Date: Sat, 05 Nov 2005 17:09:57 -0400
From: Hardy Beltran Monasterios <hardy at acm.org>
Subject: xsltproc: XPath error : Undefined variable
To: Debian Bug Tracking System <submit at bugs.debian.org>
Message-id: <1131224997.21734.13.camel at tanguera.hardy.com.bo>
Organization: Particular
MIME-version: 1.0
X-Mailer: Evolution 2.0.3
Content-type: text/plain
Content-transfer-encoding: 7BIT
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-4.0 required=4.0 tests=BAYES_01,HAS_PACKAGE,
	HTML_10_20,RCVD_IN_DSBL autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

Package: xsltproc
Version: 1.1.12-8
Severity: important

Hello

I want process a DocBook XML document. But when I run the command

xsltproc $DBSTYLEPATH/nwalsh/html/docbook.xsl test.xml

I get this error:

XPath error : Undefined variable
compilation error:
file /usr/share/xml/docbook/stylesheet/nwalsh/html/inline.xsl line 879
element a
Attribute template href: failed to compile $id
XPath error : Undefined variable
compilation error:
file /usr/share/xml/docbook/stylesheet/nwalsh/html/admon.xsl line 83
element img
Attribute template alt: failed to compile $alt
XPath error : Undefined variable
compilation error:
file /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl line 144
element meta
Attribute template content: failed to compile $VERSION


This is my test.xml file

------------- test.xml file [BEGIN] -------------
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
  "/usr/share/xml/docbook/schema/dtd/4.3/docbookx.dtd">
<book id="test" lang="en">
  <bookinfo>
    <title>DocBook Test</title>
    <copyright>
      <year>2005</year>
      <holder>Some Company</holder>
    </copyright>
    <authorgroup>
      <author>
        <surname>LastName</surname>
        <firstname>FirstName</firstname>
      </author>
    </authorgroup>
  </bookinfo>

  <chapter id="ch-test">
    <title>Test Chapter</title>

    <para>A brief description</para>
  </chapter>
</book>

------------- test.xml file [END] -------------


-- System Information:
Debian Release: 3.1
  APT prefers testing
Architecture: i386 (i686)
Kernel: 2.4.27-2-686

Packages xsltproc status:

hardy at tanguera:test$ dpkg --status xsltproc
Package: xsltproc
Status: install ok installed
Priority: optional
Section: text
Installed-Size: 164
Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs at lists.alioth.debian.org>Architecture: i386
Source: libxslt
Version: 1.1.12-8
Depends: libc6 (>= 2.3.2.ds1-4), libgcrypt11, libgpg-error0 (>= 1.0), libxml2 (>= 2.6.16), libxslt1.1 (>= 1.1.12), zlib1g (>= 1:1.2.1)
Description: XSLT command line processor
 XSLT is an XML language for defining transformations of XML files from
 XML to some other arbitrary format, such as XML, HTML, plain text, etc.
 using standard XSLT stylesheets.
 .
 This package contains a command line tool that facilitates XSLT
 transformations.




Thanks



-- 
Hardy Beltran Monasterios
hardy at acm dot org
Usuario Linux #50949 - http://counter.li.org
La Paz, Bolivia


---------------------------------------
Received: (at 337706-done) by bugs.debian.org; 5 Dec 2005 06:10:56 +0000
>From mh at glandium.org Sun Dec 04 22:10:56 2005
Return-path: <mh at glandium.org>
Received: from aputeaux-153-1-67-140.w81-249.abo.wanadoo.fr ([81.249.53.140] helo=namakemono.glandium.org)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1Ej9Yu-0004f2-HJ
	for 337706-done at bugs.debian.org; Sun, 04 Dec 2005 22:10:56 -0800
Received: from mh by namakemono.glandium.org with local (Exim 4.60)
	(envelope-from <mh at glandium.org>)
	id 1Ej9Y3-00032u-06; Mon, 05 Dec 2005 07:10:03 +0100
Date: Mon, 5 Dec 2005 07:10:02 +0100
From: Mike Hommey <mh at glandium.org>
To: Hardy Beltran Monasterios <hardy at acm.org>, 337706-done at bugs.debian.org
Subject: Re: xsltproc: XPath error : Undefined variable
Message-ID: <20051205061002.GA11696 at glandium.org>
References: <1131224997.21734.13.camel at tanguera.hardy.com.bo> <20051203082442.GC17074 at glandium.org> <1133732247.4267.95.camel at tanguera.hardy.com.bo>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <1133732247.4267.95.camel at tanguera.hardy.com.bo>
Organization: glandium.org
X-GPG-Fingerprint: A479 A824 265C B2A5 FC54  8D1E DE4B DA2C 54FD 2A58
User-Agent: Mutt/1.5.11
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-2.5 required=4.0 tests=BAYES_00,RCVD_IN_SORBS 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Version: 1.1.15-1

On Sun, Dec 04, 2005 at 05:37:27PM -0400, Hardy Beltran Monasterios <hardy at acm.org> wrote:
> El sáb, 03-12-2005 a las 09:24 +0100, Mike Hommey escribió:
> > On Sat, Nov 05, 2005 at 05:09:57PM -0400, Hardy Beltran Monasterios <hardy at acm.org> wrote:
> > > Package: xsltproc
> > > Version: 1.1.12-8
> > > Severity: important
> > > 
> > > Hello
> > > 
> > > I want process a DocBook XML document. But when I run the command
> > > 
> > > xsltproc $DBSTYLEPATH/nwalsh/html/docbook.xsl test.xml
> > 
> > I can't reproduce with the versions of DocBook and xsltproc in testing.
> > Can you try these ?
> > 
> 
> The problem is unreproduceable with libxslt1.1 version 1.1.15-1.

Thanks for the feedback. Closing the bug.

Mike



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