libxml2/libxslt crash

Alain Ketterlin

Usenet Archive
Joined
Apr 27, 2000
Messages
401
Reaction score
0
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,798
Members
249,594
Latest member
henrywalsh

Latest Threads

Top