Re: [xslt] SAXON extension functions



Le 2001.10.07 19:15, Thomas Broyer a écrit :
> The test in tests/extension/evaluate.* throws a floating point exception
> on my linux box. I really don't have time to investigate. It seems to be
> a bug in xmlHashComputeKey.

Oops! I was passing tctxt->style to xsltGetExtData instead of tctxt...

However, it reveals a bug in xsltDefaultProcessOneNode at line 886 which
leads to a segfault in verbose mode (xsltproc -v evaluate.xsl
evaluate.xml): xsltGenericDebug is called with node->content instead of
cur->content.
Actually, it seems even larger: there are many references to «node» instead
of «cur» in this function (xsltDefaultProcessOneNode), and maybe in other
functions as well.

Attached patch (not yet committed) fixes that part of
xsltDefaultProcessOneNode.

Tom.

transform.patch



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]