Seeking reentrant+threadsafe XML parser written in ANSI-C ...

Discussion in 'XML' started by Roland Mainz, Jul 8, 2008.

  1. Roland Mainz

    Roland Mainz Guest

    Hi!

    ----

    Does anyone here know any XML parsers which are reentrant, threadsafe,
    maintained (e.g. the project should still be active+alive) and written
    in ANSI-C (libxml2 is unfortunately not reentrant and I'm currently not
    sure whether "Parsifal"
    (http://www.saunalahti.fi/~samiuus/toni/xmlproc/)) is still under active
    development... ?

    ----

    Bye,
    Roland

    --
    __ . . __
    (o.\ \/ /.o)
    \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
    /O /==\ O\ TEL <currently fluctuating>
    (;O/ \/ \O;)
     
    Roland Mainz, Jul 8, 2008
    #1
    1. Advertising

  2. * Roland Mainz wrote in comp.text.xml:
    >Does anyone here know any XML parsers which are reentrant, threadsafe,
    >maintained (e.g. the project should still be active+alive) and written
    >in ANSI-C (libxml2 is unfortunately not reentrant and I'm currently not
    >sure whether "Parsifal"
    >(http://www.saunalahti.fi/~samiuus/toni/xmlproc/)) is still under active
    >development... ?


    Could you explain what you mean by "reentrant" in this context? Which
    function(s) would you be calling concurrently from multiple "threads"?
    Why doesn't Expat meet your criteria?
    --
    Björn Höhrmann · mailto: · http://bjoern.hoehrmann.de
    Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
    68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
     
    Bjoern Hoehrmann, Jul 12, 2008
    #2
    1. Advertising

  3. Apache Xerces?
     
    Joseph J. Kesselman, Jul 12, 2008
    #3
  4. * Joseph J. Kesselman wrote in comp.text.xml:
    >Apache Xerces?


    .... Isn't written in ANSI C, is it? There are Java and C++ versions, but
    no C versions, as far as I can tell anyway.
    --
    Björn Höhrmann · mailto: · http://bjoern.hoehrmann.de
    Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
    68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
     
    Bjoern Hoehrmann, Jul 12, 2008
    #4
  5. > ... Isn't written in ANSI C, is it? There are Java and C++ versions, but
    > no C versions, as far as I can tell anyway.


    .... Right. Sorry.

    (On the other hand, do you really need "written in", or is "compatable
    with" sufficient? It's probably possible to rattle off a few simple
    adapters to invoke it from C and to route the SAX callbacks into C code...)
     
    Joseph J. Kesselman, Jul 12, 2008
    #5
  6. In article <>,
    Bjoern Hoehrmann <> wrote:

    >Could you explain what you mean by "reentrant" in this context? Which
    >function(s) would you be calling concurrently from multiple "threads"?


    It makes a difference whether you need to an instance of the parser
    to be re-entrant, or just need to be able to use multiple instances.

    The latter is fairly easy; the former is hard to make sense of.

    -- Richard
    --
    Please remember to mention me / in tapes you leave behind.
     
    Richard Tobin, Jul 12, 2008
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeff Goslin

    Newbie seeking VB to ANSI C Conversion assistance

    Jeff Goslin, Nov 5, 2003, in forum: C Programming
    Replies:
    14
    Views:
    739
    Jimmy
    Nov 23, 2003
  2. Replies:
    1
    Views:
    518
  3. Replies:
    11
    Views:
    1,120
    Keith Thompson
    Apr 28, 2008
  4. Frank Iannarilli

    pre-ansi to ansi c++ conversion?

    Frank Iannarilli, Jul 21, 2009, in forum: C++
    Replies:
    2
    Views:
    441
  5. arne
    Replies:
    0
    Views:
    377
Loading...

Share This Page