[xml/sgml-pkgs] Bug#423937: xsltproc: disable-output-escaping fails to work in stylesheet

Ben Stewart debbugs at tucuxi.org
Tue May 15 01:32:48 UTC 2007

Package: xsltproc
Version: 1.1.20-1
Severity: normal

xsltproc fails to comply with the disable-output-escaping attribute
as applied to <xsl:attribute> and <xsl:text> tags.

This is a regression, as earlier versions of xsltproc correctly parsed
the following:

  <xsl:text disable-output-escaping="yes">&eacute;</xsl:text>

The current release complains about eacute being an unknown entity, as
would be expected if disable-output-escaping was not enabled.

Usage of &amp; in place of the & (with disable-output-escaping still
in place) fails to produce the expected output of &eacute; in the
target document.

The start of the XSL template showing the defect is as follows:

<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"

  <xsl:output method="xml" omit-xml-declaration="yes"
      doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
     <xsl:template match="/">

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

Kernel: Linux (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages xsltproc depends on:
ii  libc6                      2.5-5         GNU C Library: Shared libraries
ii  libgcrypt11                1.2.4-2       LGPL Crypto library - runtime libr
ii  libgpg-error0              1.4-2         library for common error values an
ii  libxml2                    2.6.28.dfsg-1 GNOME XML library
ii  libxslt1.1                 1.1.20-1      XSLT processing library - runtime 

xsltproc recommends no packages.

-- no debconf information

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