Cabal-Version: >= 1.2 Name: hexpat Version: 0.5 Synopsis: wrapper for expat, the fast XML parser Description: Expat () is a stream-oriented XML parser written in C. . This package provides a Haskell binding for Expat, with a choice of /tree/ or /SAX-style/ representation, and it includes an /XML formatter/. It is extensible to any string type, with @String@, @ByteString@ and @Text@ provided out of the box. . The emphasis is on speed and simplicity. If you want more complete and powerful XML libraries, consider using /HaXml/ or /HXT/ instead. . Note that /hexpat/ has undergone a major API change since 0.3.x. . Benchmark results on ghc 6.10.1 against HaXml for parsing a 4K xml file with non-threading runtime: HAXML: 2631 us, HEXPAT: low-level parse-no tree: 243 us, lazy-String: 1240 us, lazy-Text: 782 us, strict-String: 1125 us, strict-Text: 770 us . With -threaded: HAXML: 2667 us, HEXPAT: low-level parse-no tree: 472 us, lazy-String: 1453 us, lazy-Text: 1057 us, strict-String: 1342 us, strict-Text: 943 us Category: XML License: BSD3 License-File: LICENSE Author: Stephen Blackheath (blackh), Evan Martin, Matthew Pocock (drdozer) Maintainer: http://blacksapphire.com/antispam/ Copyright: (c) 2009 Stephen Blackheath , (c) 2008 Evan Martin , (c) 2009 Matthew Pocock Homepage: http://code.haskell.org/hexpat/ Extra-Source-Files: test/tests.hs, test/test.xml, test/benchmark.hs, test/lazySAX.hs, test/lazyTree.hs, test/lazyTreeThrow.hs, test/errorHandlingWay1.hs, test/errorHandlingWay2.hs Build-Type: Simple Stability: beta Library Build-Depends: base, haskell98, bytestring, mtl >= 1.1.0.0, text >= 0.1, binary >= 0.4, utf8-string >= 0.3.3, parallel, containers, extensible-exceptions >= 0.1 && < 0.2 Exposed-Modules: Text.XML.Expat.Tree, Text.XML.Expat.Format, Text.XML.Expat.Namespaced, Text.XML.Expat.Qualified, Text.XML.Expat.IO Extensions: ForeignFunctionInterface Extra-Libraries: expat