Friedrich Beckmann wrote:
Hi,
if found a problem when using the libxml library to build
opensync on Windows with MSYS and MINGW. I get errors described
below. I found some email thread from 2004 which describes the
same problem. I changed the xmlexports.h include file and then
I can compile. (Se
On 18Nov08 17:41, Andrew M. wrote:
}Thanks, that solved it.
}Unfortunately I have another question (which may be very very stupid :D ):
}how do I cast a xmlChar to a float?
You don't, you need to parse it somehow. Take a look at atof(3) for a simple
example. Note, that returns a double. In general
On Tue, Nov 18, 2008 at 07:16:50PM +, Graham Bennett wrote:
> Hi all,
>
> I've been notified of a Redhat security update for libxml2:
> https://rhn.redhat.com/errata/RHSA-2008-0988.html, and was hoping to
> update my own builds with a version that doesn't suffer from these
> vulnerabilities (I
Hi all,
I've been notified of a Redhat security update for libxml2:
https://rhn.redhat.com/errata/RHSA-2008-0988.html, and was hoping to
update my own builds with a version that doesn't suffer from these
vulnerabilities (I build from the standard source distribution, not the
Redhat source).
It
On Tue, November 18, 2008 1:09 pm, Callum Gibson wrote:
> On 18Nov08 12:24, Andrew M. wrote:
> }Code runs fine without printf(), so I am supposing xmlNodeListGetString()
> }might be failing. Any suggestions?
>
> cur is uninitialised in main() at the following line:
>
> cur = cur->xmlChildrenN
On 18Nov08 12:24, Andrew M. wrote:
}Code runs fine without printf(), so I am supposing xmlNodeListGetString()
}might be failing. Any suggestions?
cur is uninitialised in main() at the following line:
cur = cur->xmlChildrenNode;
You probably mean doc->children (or doc->xmlRootNode if you'
Hi Andrew,
Code runs fine without printf(), so I am supposing xmlNodeListGetString()
might be failing. Any suggestions?
A general suggestion for debugging segfaults: compile with -g and run
under gdb, and see which line your program crashes on and what the
values are at that point. Most bugs
Hi all.
This is my first attempt at handling XML using libxml2.
My problem is very simple: I have a small XML file
9
18.11.2008 11:41:18
and I am trying to retrieve the "temp" value.
Reading on xmlsoft.org I found a good reference
(http://xmlsoft.org/tutorial/ar01s04.html) but whe
Hi,
if found a problem when using the libxml library to build
opensync on Windows with MSYS and MINGW. I get errors described
below. I found some email thread from 2004 which describes the
same problem. I changed the xmlexports.h include file and then
I can compile. (See the #if 0 part). I do not