A
Alain Ketterlin
Sorry to post this here, but I don't really have time to look for a
more appropriate plae.
I just upgraded libxml2/libxslt from xmlsoft.org, and get a crash on
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:com="http://whatever.com"
version="1.0"<xsl:template match="/">
<xsl:apply-templates select="." mode="com:mode"/>
</xsl:template>
<xsl:template match="/" mode="com:mode"/>
</xsl:stylesheet>
when applied to any document, including
<?xml version="1.0" encoding="iso-8859-1"?>
<none/>
i.e., with any namespace qualified mode-name used in template
application. (Doesn't happen if I remove the second template. And
doesn't happen with non ns-qualified mode names.)
Of course the real stylesheet is much more complex, but has been
working for several years.
% xsltproc --version
Using libxml 20607, libxslt 10104 and libexslt 804
xsltproc was compiled against libxml 20607, libxslt 10104 and libexslt 804
libxslt 10104 was compiled against libxml 20607
libexslt 804 was compiled against libxml 20607
The same thing happens with or withour any SGML_CATALOG_FILES env.
variable.
The same problem appeared on 2.6.6/1.1.3. I'm not sure exactly when it
appeared, but not too far in the past (I'm fairly sure 2.6.2 worked,
but I may be wrong).
-- Alain.
more appropriate plae.
I just upgraded libxml2/libxslt from xmlsoft.org, and get a crash on
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:com="http://whatever.com"
version="1.0"<xsl:template match="/">
<xsl:apply-templates select="." mode="com:mode"/>
</xsl:template>
<xsl:template match="/" mode="com:mode"/>
</xsl:stylesheet>
when applied to any document, including
<?xml version="1.0" encoding="iso-8859-1"?>
<none/>
i.e., with any namespace qualified mode-name used in template
application. (Doesn't happen if I remove the second template. And
doesn't happen with non ns-qualified mode names.)
Of course the real stylesheet is much more complex, but has been
working for several years.
% xsltproc --version
Using libxml 20607, libxslt 10104 and libexslt 804
xsltproc was compiled against libxml 20607, libxslt 10104 and libexslt 804
libxslt 10104 was compiled against libxml 20607
libexslt 804 was compiled against libxml 20607
The same thing happens with or withour any SGML_CATALOG_FILES env.
variable.
The same problem appeared on 2.6.6/1.1.3. I'm not sure exactly when it
appeared, but not too far in the past (I'm fairly sure 2.6.2 worked,
but I may be wrong).
-- Alain.