[Haskell-cafe] hxt memory useage

Keith Fahlgren keith at oreilly.com
Sat Jan 26 11:00:10 EST 2008


On 1/26/08 3:43 AM, Ketil Malde wrote:
> I think a good approach would be a TagSoup-like (SAX-like) lazy
> ByteString parser, with more advanced features (checking for
> well-formedness, building a tree structure, validation, namespace
> support..) layered on top. 

Perhaps a more modern approach would be StAX[1]-like rather than SAX-like? In
either case, streaming, non-DOM.

I am concerned by the number of people expressing willingness to abandon
namespace support, but perhaps I'm being too much of a purist....

> These days, there is a lot of XML around, so solid and performant XML
> processing could be another step in missing our stated mission goal of
> avoiding success at all costs.

Agreed.


Keith

1. http://stax.codehaus.org/
http://www.xml.com/pub/a/2003/09/17/stax.html


More information about the Haskell-Cafe mailing list