
On Tue, Apr 22, 2008 at 11:57 AM, Aaron Tomb
On Apr 22, 2008, at 6:20 AM, John Goerzen wrote:
* xml A simple, lightweight XML parser/generator.
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xml
Can you describe how this compares to HaXml? Were there deficiencies in HaXml?
The main difference is that it's simpler. It's perhaps 10-20% the size of HaXml. For a program that just has to do simple XML processing, it's sometimes undesirable to have to link in a library that does a lot more than you need.
It would be convenient to have a list of unsupported XML features. The
ones I've noticed so far are
* doctypes (and all doctype-related markup)
* processing instructions
* notations
Comments are recognized but not preserved, so you can't round-trip a
document containing them.
(Personally, I use namespaces more than I use any of these, which is
why I don't use HaXml.)
--
Dave Menendez