[Haskell-cafe] ANNOUNCE: Galois web libraries for Haskell released
David Menendez
dave at zednenem.com
Wed Apr 23 11:43:58 EDT 2008
On Tue, Apr 22, 2008 at 11:57 AM, Aaron Tomb <atomb at galois.com> wrote:
>
> 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 <dave at zednenem.com>
<http://www.eyrie.org/~zednenem/>
More information about the Haskell-Cafe
mailing list