[gambit-list] problem with ffi and libxml2

Cyrille Duret cduret at gmail.com
Tue Jul 17 07:37:55 EDT 2012


I have created a module system for my needs far more simpler than blackhole
and I cannot integrate sxml in my module framework.
libxml2 is the best option for me.

On Tue, Jul 17, 2012 at 11:55 AM, Klaus Schilling <schilling.klaus at web.de>wrote:

> From: Cyrille Duret <cduret at gmail.com>
> Subject: [gambit-list] problem with ffi and libxml2
> Date: Tue, 17 Jul 2012 10:13:10 +0200
>
> > hello,
> > I have problem to parse xml string with ffi and libxml2.
> >
> > My code is in the test file libxml-raw.scm :
> >
> > (c-declare #<<end
> >
> > #include <stdlib.h>
> > #include <libxml/xmlreader.h>
> >
> > xmlTextReaderPtr create_reader(const char* buffer, size_t len) {
> >   return xmlReaderForMemory(buffer, len, "_.xml", NULL, 0);
> > }
>
> What are the major advantages of using libxml2 xmlreader with ffi over
> using sxml?
>
> Klaus Schilling
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20120717/f1f6b477/attachment.htm>


More information about the Gambit-list mailing list