comparison between XML C/C++ parsers?

David Megginson david at
Wed Aug 11 03:30:45 BST 1999

Michele Lee writes:

 > I'm trying to decide which XML C/C++ parser to use.  Is there any
 > comparison available?  In particular, comparison between IBM4C++
 > and expat.

Expat is small, fast, and stable -- it's getting a very heavy workout
in the Perl community (where it's the standard Perl XML parser), so
serious bugs tend to have been chased down, and it seems to operate
practically at I/O speed.

On the downside, Expat is C rather than C++, so the interface is a
little messy -- you might want to put together a C++ wrapper to help
avoid nastier bugs.

I have no experience yet with IBM4C++, but I do know that they have an 
interface based on SAX as well as the DOM.  It's very new, so expect

All the best,


David Megginson                 david at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list