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 <![CDATA[é]]> 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" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > > <xsl:output method="xml" omit-xml-declaration="yes" > doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" > doctype-system="DTD/xhtml1-strict.dtd"/> > > <xsl:template match="/"> > ... > </xsl:template> > <xsl:stylesheet> I attached an example XSLT file based on this template. It produces the result I expect. Regards, Daniel
example_5.xsl
Description: application/xml