Re: [dev] Re: suck-less XML parsing

From: pancake <pancake_AT_youterm.com>
Date: Fri, 6 Jun 2014 13:34:25 +0200

Xml standard is bloated, but you can get some assumptions to make it simpler like only accepting utf8. I used libparsifal in the past and it was quite straightforward and the lib is quite small.
For speed is better to go with sax, but dom is useful when you have to walk and resolve different paths



> On 06 Jun 2014, at 13:27, Christian Neukirchen <chneukirchen_AT_gmail.com> wrote:
>
> Teodoro Santoni <asbrasbra_AT_gmail.com> writes:
>
>> If it takes too much time to put in place a program relying on a SAX parser or
>> a DOM parser, the best choice is libxml2, probably.
>
> Why not expat? It has a simple API, is standard-conformant and not very
> bloated.
>
> --
> Christian Neukirchen <chneukirchen_AT_gmail.com> http://chneukirchen.org
>
>
Received on Fri Jun 06 2014 - 13:34:25 CEST

This archive was generated by hypermail 2.3.0 : Fri Jun 06 2014 - 13:36:10 CEST