[xml] xpath.c in libxml2-2.3.6
- From: "William M. Brack" <wbrack mmm com hk>
- To: <xml gnome org>
- Subject: [xml] xpath.c in libxml2-2.3.6
- Date: Tue, 10 Apr 2001 16:18:29 +0800
A small enhancement is needed -
----------------------------------------------------------------------------
-------
--- xpath.c.orig Sun Apr 8 10:35:06 2001
+++ xpath.c Tue Apr 10 07:26:32 2001
@@ -7423,7 +7423,7 @@
return(res->floatval == ctxt->context->proximityPosition);
case XPATH_NODESET:
case XPATH_XSLT_TREE:
- if (res->nodesetval)
+ if (res->nodesetval==NULL)
return(0);
return(res->nodesetval->nodeNr != 0);
case XPATH_STRING:
----------------------------------------------------------------------------
-------
Bill Brack
ABC QuickSilver
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]