Re: [xslt] Abort processing unknown variables inside translation



On Sat, Oct 06, 2001 at 10:06:34AM +0100, Justin Fletcher wrote:
> A quick look at the code in xpath shows a number of places where valuePush
> (which I assume is the converse of valuePop) is called with the result of
> xmlXPathObjectCopy - a function which can return NULL on memory allocation
> failure and if passed a NULL. I don't know if that's a fault or safe in the
> positions it has been used, but it's a potential place where a null might
> come from.

  Could you try to apply the following patch, I hope it will fix most
of those problems:

  http://cvs.gnome.org/bonsai/cvsquery.cgi?module=gnome-xml&branch=HEAD&branchtype=match&dir=gnome-xml&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=10%2F06%2F01+05%3A58&maxdate=10%2F06%2F01+06%3A00&cvsroot=%2Fcvs%2Fgnome

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




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