[Haskell-cafe] Choosing an xml parser

L Corbijn aspergesoepje at gmail.com
Sun Jul 21 14:07:26 CEST 2013


Hello Cafe,

I am trying to write a library to parse (and process) the OpenGL xml spec
into haskell values. The problem is that I don't know what xml library to
choose. So far I can think of the following requirements:

- Some error reporting, possibly warning for unparsed elements (as that
signals that the parser needs updating).
- Not too bulky for the not so simple registry schema [1].
- Preferably some way to preprocess some nodes (this could probably be done
by any xml library).
- Preferably not too memory hungry (the current spec is about 2MB)

Does somebody have a recommendation for a xml library to use for this?

Regards,
Lars

[1]:
https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/registry.rnc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130721/a557645f/attachment.htm>


More information about the Haskell-Cafe mailing list