[EMAIL PROTECTED] (Norman Ramsey) writes: > load :: String -> IO X.Document > load fn = do handle <- IO.openFile fn IO.ReadMode > contents <- IO.hGetContents handle > IO.hClose handle > return $ XP.xmlParse fn contents
Try not closing the handle before parsing. -- Feri. _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell