Re: [xml] MacOSX specific problem when using xmlXPathNodeSetIsEmpty()
- From: Håkon Skjelten <skjelten pvv org>
- To: Daniel Veillard <veillard redhat com>
- Cc: xml gnome org
- Subject: Re: [xml] MacOSX specific problem when using xmlXPathNodeSetIsEmpty()
- Date: Mon, 5 Jul 2004 22:46:39 +0200
On Sun, Jun 27, 2004 at 04:48:44PM -0400, Daniel Veillard wrote:
On Thu, Jun 17, 2004 at 11:14:11PM +0200, Håkon Skjelten wrote:
The code that fails is the xmlXPathNodeSetIsEmpty(_query->nodesetval)
function call. For some reason it returns TRUE on MacOSX even though this is
not correct (same code & XML file returns FALSE in GNU/Linux). All other
libxml2 functions seems to work fine on the Mac.
This vaguely rings a bell, make 100% sure you tested the latest version
or even the daily snapshot, might be fixed already...
Sorry for the late reply; just got back from my holiday at GUADEC.
I have now tried the latest CVS snapshot too - same problem.
The XML file I am using can be found at:
http://hulk.dyndns.org/~skjelten/eit/level1.map
The source code I am using can be found at:
http://cvs.sourceforge.net/viewcvs.py/nidhogg/nidhogg/src/
(xml_parser.cc)
Regards,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Håkon Skjelten (skjelten pvv org)
Student, Engineering Cybernetics
Norwegian University of Science and Technology
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]