Malcolm, Thanks. I finally got Graham's version to build by: ./configure and then using the following Setup.hs and HaXml.cabal files. I haven't tried with Hugs or nhc. I had to modify a few bits of code on the way (e.g. changing parseUriReference to parseURIReference) but I assume that these will be fixed by the fact you are merging the two versions? Otherwise let me know and I will attempt to provide patches. Dominic. PS I may to expose a few more modules as I go along. [dom@tility HaXml]$ more Setup.hs import Distribution.Simple main = defaultMain [dom@tility HaXml]$ more HaXml.cabal name: HaXml version: 1.12 license: LGPL license-file: COPYRIGHT author: Malcolm Wallace <Malcolm.Wallace@cs.york.ac.uk> homepage: http://www.cs.york.ac.uk/fp/HaXml/ category: Text synopsis: Utilities for manipulating XML documents description: Haskell utilities for parsing, filtering, transforming and generating XML documents. exposed-modules: Text.ParserCombinators.HuttonMeijerWallace, Text.ParserCombinators.Token, Text.XML.HaXml, Text.XML.HaXml.Combinators, Text.XML.HaXml.DtdToHaskell.Convert, Text.XML.HaXml.DtdToHaskell.Instance, Text.XML.HaXml.DtdToHaskell.TypeDef, Text.XML.HaXml.EntityHelpers, Text.XML.HaXml.Escape, Text.XML.HaXml.ExtEntity, Text.XML.HaXml.Haskell2Xml, Text.XML.HaXml.Html.Generate, Text.XML.HaXml.Html.Parse, Text.XML.HaXml.Html.Pretty, Text.XML.HaXml.Lex, Text.XML.HaXml.OneOfN, Text.XML.HaXml.Parse, Text.XML.HaXml.Pretty, Text.XML.HaXml.QName, Text.XML.HaXml.SubstitutePE, Text.XML.HaXml.Types, Text.XML.HaXml.Unicode, Text.XML.HaXml.Validate, Text.XML.HaXml.Verbatim, Text.XML.HaXml.Wrappers, Text.XML.HaXml.Xml2Haskell, Text.XML.HaXml.XParserUtils, Text.XML.HaXml.Xtract.Combinators, Text.XML.HaXml.Xtract.Lex, Text.XML.HaXml.Xtract.Parse hs-source-dirs: obj/ghc build-depends: base, haskell98, mtl, HTTP extensions: CPP ghc-options: -fglasgow-exts
participants (1)
-
Dominic Steinitz