[xml/sgml-pkgs] Bug#423937: xsltproc: disable-output-escaping fails to work in stylesheet
daniel.leidert at wgdd.de
Wed May 16 10:25:20 UTC 2007
Am Dienstag, den 15.05.2007, 11:32 +1000 schrieb Ben Stewart:
> 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">é</xsl:text>
> The current release complains about eacute being an unknown entity, as
> would be expected if disable-output-escaping was not enabled.
It would be a bug to not complain here AFAIK. You can mask it with
if you want. But if you want it your way ...
> Usage of & in place of the &
... you must do this. And this works for me with the current xsltproc
version in Sid.
> (with disable-output-escaping still
> in place) fails to produce the expected output of é in the
> target document.
What does it produce in your case? Can you provide test files, that
reproducibly show this issue for you?
> 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="/">
I attached an example XSLT file based on this template. It produces the
result I expect.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 690 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20070516/4de2aa4e/attachment.xsl
More information about the debian-xml-sgml-pkgs