Re: C++ XML Parser

Peter Murray-Rust (peter@ursus.demon.co.uk)
Thu, 16 Jul 1998 15:46:06


At 11:55 16/07/98 +0200, Lars Marius Garshol wrote:
>
>
>DXP seems to be much slower than the other XML parsers, and informal
>tests done by myself at home had XP parsing documents about 10 times
>faster than DXP. (This test was done on only a single large document
>and with previous versions of both parsers, so your results may be
>different.)
>
I have been using DXP for validation when required and have found that it
is not only slow but can throw OutOfMemoryError for large documents. This
is with a version about 1998-02 - I am not clear whether there is a later
one. [I didn't find a SAX1.0-compliant one last time I looked.]

I normally use AElfred as my non-validating parser under SAX and have
switched to using xml4j for the validating parser which has managed an 11
Mbyte document for me without problems.

P.

Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg