<div dir="ltr"><div><div>Hello Cafe,<br><br></div>I am trying to write a library to parse (and process) the OpenGL xml spec into haskell values. The problem is that I don&#39;t know what xml library to choose. So far I can think of the following requirements:<br>
<br></div><div>- Some error reporting, possibly warning for unparsed elements (as that signals that the parser needs updating).<br></div><div>- Not too bulky for the not so simple registry schema [1].<br></div><div>- Preferably some way to preprocess some nodes (this could probably be done by any xml library).<br>
</div><div>- Preferably not too memory hungry (the current spec is about 2MB)<br></div><div><br></div><div>Does somebody have a recommendation for a xml library to use for this?<br><br></div><div>Regards,<br>Lars<br></div>
<div><br>[1]:<a href="https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/registry.rnc">https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/registry.rnc</a><br></div></div>