ANNOUNCE: HaXml-1.06
Malcolm Wallace
Malcolm.Wallace@cs.york.ac.uk
Mon, 12 Aug 2002 13:10:22 +0100
HaXml-1.06
----------
http://www.haskell.org/HaXml/
We are pleased to announce a fresh release of HaXml, the collection of
libraries and tools for using XML from Haskell. HaXml includes
* a parser for XML;
* a separate error-correcting parser for HTML;
* an XML validator;
* pretty-printers for XML and HTML;
* a combinator library for generic XML document transformation,
editing, and generation;
* class Haskell2Xml which allows you to read and write ordinary
Haskell data as XML;
* DtdToHaskell, a tool for translating an XML DTD into equivalent
Haskell types;
* Xtract, a grep-like tool for XML documents.
Release 1.06 is a major re-packaging of these facilities. Highlights
include:
* HaXml now uses the new hierarchical namespace for modules,
specifically under the tree Text.Xml.HaXml.
* The HaXml libraries now install as a separate `package' in both
ghc and nhc98. Use -package HaXml to access them.
* The library APIs are now documented using Haddock.
* Due to popular request, we have added a new validator for
checking generic document content against a DTD. This is
available both as a library function, and as a command-line tool.
* DrIFT is now distributed separately by John Meacham, with much
better configuration and build support. You still only need it
if you want to derive the Haskell2Xml class.
* Bugfix: the lexer and parser now accept NOTATION declarations
in the DTD.
* Bugfix: a PublicId in a NOTATION decl is now correctly recognised
by the keyword PUBLIC, not PUBLICID.
* Bugfix: the HTML parser now correctly accepts stand-alone tags
like IMG.
* Bugfix: instances of XmlContent now accept an empty string where
#PCDATA is expected. Likewise, comments, processing instructions,
and character/entity references are now permitted to be scattered
thoughout some #PCDATA text.
* Bugfix: the OneOfN types used in code generated by DtdToHaskell
are now supplied by default up to size 20, and a utility for
automatically generating larger sizes is included.
Regards,
Malcolm