[Haskell-cafe] Choosing an xml parser

2013-07-21 Thread L Corbijn
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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Choosing an xml parser

2013-07-21 Thread Carlos López-Camey
Hi L, I have used TagSoup, it is fine and simple.

http://community.haskell.org/~ndm/tagsoup/


2013/7/21 L Corbijn aspergesoe...@gmail.com

 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

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe