After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 377579 - function bound to undefined prefix in some corner cases
function bound to undefined prefix in some corner cases
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-20 23:41 UTC by Mike Hommey
Modified: 2006-11-23 16:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for the issue (1.15 KB, patch)
2006-11-20 23:41 UTC, Mike Hommey
none Details | Review

Description Mike Hommey 2006-11-20 23:41:05 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:
Comment 1 Mike Hommey 2006-11-20 23:41:38 UTC
Created attachment 76952 [details] [review]
patch for the issue
Comment 2 Mike Hommey 2006-11-20 23:53:25 UTC
(replace --disable-gimp-check by --without-gimp in the ./configure arguments)
Comment 3 Daniel Veillard 2006-11-23 16:46:58 UTC
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