[xml/sgml-pkgs] Bug#425828: libxslt1.1: do not close tags correctly when dealing with undefined variables

FEK tidsrapportering fek at handels.gu.se
Thu May 24 10:42:10 UTC 2007


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


While this report is generated on a system with version 1.1.15-2 installed, I have only
seen the bug in version 1.1.19-1.

This construct worked on 1.1.15-2
<h3><xsl:value-of select="/rapport_redovisning/redovisning/namn" /></h3>
Even if the variabel was undefined, an empty tag like this <h3></h3> was created.

In 1.1.19-1, however
only <h3 /> is the result, which renders bad by browsers.

The attached files where processed using xsltproc. good.xml was output when using
1.1.15-2, bad.xml with 1.1.19-1

-- 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/20070524/e1c3b3f2/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/20070524/e1c3b3f2/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/20070524/e1c3b3f2/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/20070524/e1c3b3f2/attachment-0002.xml 


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