[xml/sgml-pkgs] Bug#329678: marked as done (libxslt1.1: Problem resolving xsl:parameters)

Debian Bug Tracking System owner at bugs.debian.org
Thu Sep 22 19:03:58 UTC 2005


Your message dated Thu, 22 Sep 2005 20:46:54 +0200
with message-id <20050922184654.GA32242 at glandium.org>
and subject line [xml/sgml-pkgs] Bug#329678: libxslt1.1: Problem resolving xsl:parameters
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; 22 Sep 2005 17:08:05 +0000
>From cactus at cactus.rulez.org Thu Sep 22 10:08:05 2005
Return-path: <cactus at cactus.rulez.org>
Received: from (fenyo.mail.t-online.hu) [195.228.240.95] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EIUYG-0003xc-00; Thu, 22 Sep 2005 10:08:05 -0700
Received: from ds9.cactus (catv3EC9493E.pool.t-online.hu [62.201.73.62])
	by fenyo.mail.t-online.hu (8.13.4/8.12.11) with ESMTP id j8MH80pm050109;
	Thu, 22 Sep 2005 19:08:01 +0200 (CEST)
Received: from galaxy.cactus ([10.0.0.3] ident=mail)
	by ds9.cactus with esmtp (Exim 4.52)
	id 1EIUcC-0001HZ-L6; Thu, 22 Sep 2005 19:12:08 +0200
Received: from cactus by galaxy.cactus with local (Exim 3.36 #1 (Debian))
	id 1EIUXb-0007Ez-00; Thu, 22 Sep 2005 19:07:23 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Dr. ERDI Gergo" <cactus at cactus.rulez.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: libxslt1.1: Problem resolving xsl:parameters
X-Mailer: reportbug 3.17
Date: Thu, 22 Sep 2005 19:07:22 +0200
Message-Id: <E1EIUXb-0007Ez-00 at galaxy.cactus>
X-VBMilter: scanned
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: libxslt1.1
Version: 1.1.15-1
Severity: important


Following an upgrade of libxslt1.1, the following XSL:

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:param name="foo" select="'abc'"/>  
  <xsl:template match="*[@bar=$foo]"/>  
</xsl:stylesheet>

gives the following error:
XPath error : Undefined variable
compilation error: file /tmp/bar.xsl line 4 element template
Failed to compile predicate

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.31
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libxslt1.1 depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libgcrypt11                   1.2.1-4    LGPL Crypto library - runtime libr
ii  libgpg-error0                 1.1-4      library for common error values an
ii  libxml2                       2.6.22-1   GNOME XML library
ii  zlib1g                        1:1.2.3-4  compression library - runtime

libxslt1.1 recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 329678-done) by bugs.debian.org; 22 Sep 2005 18:47:33 +0000
>From mh at glandium.org Thu Sep 22 11:47:33 2005
Return-path: <mh at glandium.org>
Received: from aputeaux-153-1-36-212.w82-124.abo.wanadoo.fr (namakemono.glandium.org) [82.124.128.212] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EIW6W-0008ED-00; Thu, 22 Sep 2005 11:47:33 -0700
Received: from mh by namakemono.glandium.org with local (Exim 4.52)
	id 1EIW5u-0008Qg-Vh; Thu, 22 Sep 2005 20:46:55 +0200
Date: Thu, 22 Sep 2005 20:46:54 +0200
From: Mike Hommey <mh at glandium.org>
To: "Dr. ERDI Gergo" <cactus at cactus.rulez.org>, 329678-done at bugs.debian.org
Subject: Re: [xml/sgml-pkgs] Bug#329678: libxslt1.1: Problem resolving xsl:parameters
Message-ID: <20050922184654.GA32242 at glandium.org>
References: <E1EIUXb-0007Ez-00 at galaxy.cactus>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1EIUXb-0007Ez-00 at galaxy.cactus>
X-GPG-Fingerprint: A479 A824 265C B2A5 FC54  8D1E DE4B DA2C 54FD 2A58
Organization: glandium.org
User-Agent: Mutt/1.5.10i
Delivered-To: 329678-done 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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Thu, Sep 22, 2005 at 07:07:22PM +0200, Dr. ERDI Gergo <cactus at cactus.rulez.org> wrote:
> Package: libxslt1.1
> Version: 1.1.15-1
> Severity: important
> 
> 
> Following an upgrade of libxslt1.1, the following XSL:
> 
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>   <xsl:param name="foo" select="'abc'"/>  
>   <xsl:template match="*[@bar=$foo]"/>  
> </xsl:stylesheet>
> 
> gives the following error:
> XPath error : Undefined variable
> compilation error: file /tmp/bar.xsl line 4 element template
> Failed to compile predicate

This is actually the opposite bug that finally got fixed.
Variables and parameters are not allowed in the match clause of a
template. See the pattern grammar for details.
http://www.w3.org/TR/xslt#patterns

Cheers,

Mike



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