[xml/sgml-pkgs] Bug#425955: libxslt1.1: changed behaviour with undefined variables (from 1.1.15-2 to 1.1.19-1)

Hans Ekbrand hans.ekbrand at gmail.com
Fri May 25 06:40:51 UTC 2007


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

While this system now uses 1.1.15-2, the bug was found in 1.1.19-1.

If foo is undefined, the following xsl

<h3><xsl:value-of select="foo" /></h3>

will be transformed into 

<h3 />

in 1.1.19-1, while 1.1.15-2 transformed the xsl to

<h3></h3>

See the attached files for a test case. good.xml was output by 1.1.15-2
and bad.xml comes from 1.1.19-1 (in both cases xsltproc was used).


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

Versions of packages libxslt1.1 depends on:
ii  libc6                      2.3.6.ds1-13  GNU C Library: Shared libraries
ii  libgcrypt11                1.2.3-2       LGPL Crypto library - runtime libr
ii  libgpg-error0              1.4-1         library for common error values an
ii  libxml2                    2.6.27.dfsg-1 GNOME XML library
ii  zlib1g                     1:1.2.3-13    compression library - runtime

libxslt1.1 recommends no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xsl
Type: application/xml
Size: 423 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20070525/0916d55b/attachment.xsl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xml
Type: application/xml
Size: 854 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20070525/0916d55b/attachment.xml 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: good.xml
Type: application/xml
Size: 103 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20070525/0916d55b/attachment-0001.xml 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bad.xml
Type: application/xml
Size: 99 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20070525/0916d55b/attachment-0002.xml 


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