GNOME Bugzilla – Bug 377579
function bound to undefined prefix in some corner cases
Last modified: 2006-11-23 16:46:58 UTC
Please describe the problem: This got reported as bug #399010 on Debian BTS. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399010. I failed to get a reduced test case for the issue, but I came up with a patch that solves the issue and that I am going to attach to this bug. Note that there may be similar changes to add to other functions, though I'm not sure if it's necessary everywhere Steps to reproduce: 1. get gimp-help and docbook-xsl 2. in gimp-help's directory, run ./configure --disable-gimp-check --disable-gfx-check ; make Actual results: The following error occurs: xmlXPathCompOpEval: function node-set bound to undefined prefix exslt runtime error: file file:///usr/share/xml/docbook/stylesheet/nwalsh/xhtml/profile-chunk-code.xsl line 253 element apply-templates The 'select' expression did not evaluate to a node set. Expected results: Does this happen every time? Other information:
Created attachment 76952 [details] [review] patch for the issue
(replace --disable-gimp-check by --without-gimp in the ./configure arguments)
Okay, the patch looks fine, I was just worried that the pointer saved might have been deallocated , but they are all compiled 'statically' as part of the stylesheet compilation. Oh and xmlNsPtr oldXPNamespaces; really needed to be xmlNsPtr *oldXPNamespaces; thanks a lot of the patch :-) applied and commited in CVS ! Daniel