Xmerl performance
Sean Hinde
sean.hinde@REDACTED
Sat Jan 15 00:06:33 CET 2005
On 14 Jan 2005, at 16:56, Alexey Shchepin wrote:
> Hello, Sean!
>
> On Thu, 13 Jan 2005 23:09:55 +0000, you said:
>
> SH> Hi, We used the expat binding which was written as part of the
> ejabberd
> SH> project. Thanks to Alexey Shchepin for writing it and making it
> available
> SH> (under the GPL).
>
> SH> We adapted the SAX type model of the ejabberd expat driver to
> create a DOM
> SH> with something like the following code. I can't quite recall
> which bits of
> SH> this were used but it might provide a guide.
>
> This code uses pretty old verion of expat driver (AFAIR earlier than
> Oct 2003),
> small update is required for version from ejabberd-0.7.5 (replace
> xmlstart,
> xmlend, xmlcdata, and xmlerror with ?XML_*). But i'd recommend to use
> version
> from ejabberd cvs version, it includes interface for parsing entire
> element and
> works faster.
>
Great, thanks for the update - I'll check it out.
Sean
More information about the erlang-questions
mailing list