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

R

Roland Mainz

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) (e-mail address removed)
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL <currently fluctuating>
(;O/ \/ \O;)
 
B

Bjoern Hoehrmann

* 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?
 
B

Bjoern Hoehrmann

* 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.
 
J

Joseph J. Kesselman

... 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...)
 
R

Richard Tobin

Bjoern Hoehrmann said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top