This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: xsltproc segfaults with docbook-xsl 1.51.0 - 1.52.2
- From: Dennis Grace <dgrace at us dot ibm dot com>
- To: veillard at redhat dot com
- Cc: Camille B?gnis <camille at mandrakesoft dot com>,docbook-apps <docbook-apps at lists dot oasis-open dot org>,Oliver Eikemeier <eikemeier at fillmore-labs dot com>,Norman Walsh <nwalsh at users dot sourceforge dot net>,Michael Smith <xmldoc at users dot sourceforge dot net>
- Date: Fri, 23 Aug 2002 12:27:15 -0500
- Subject: Re: DOCBOOK-APPS: xsltproc segfaults with docbook-xsl 1.51.0 - 1.52.2
Daniel Veillard said:
>>>>>
Okay, I have the answer and a patch for this, finally :-)
In a nutshell it was a bug in libxslt <choose> implementation, the
<when> test expression was evaluated with the in-scope namespace list
of the <choose> node and not the one of the <when> node ... grin ...
Tiny patch enclosed, fix will be in next version, for good measure I also
ran valgind memory checker on the new code and no error are found, the
next version of xsltproc should hopefully fix the troubles people had
with recent versions of the stylesheets
<<<<<
True to his word, Daniel published the new version of xlstproc this week
(today, apparently). It also appears to work with DocBook 1.53.0. I
downloaded and refreshed with the latest RPMs (libxml-2-2.4.24-1 and
libxslt-1.0.20-1) from ftp://speakeasy.rpmfind.net/pub/libxml/ and all the
XML docs I couldn't process before went through without a glitch.
Way to go, Daniel.
Dennis Grace
Information Developer
IBM Linux Technology Center
(512) 838-3937 T/L 678-3937 cell: (512)-296-7830
dgrace@us.ibm.com
There are only 10 kinds of people in the world: those who understand binary
and those who don't.