
I remember that we had problems with HaXml producing empty or truncated files, too. I think with ghc-6.4.1 and HaXml-1.13 this problem was solved. (The deprecated stuff is definitely not the cause). The problem must have been related to the output handle being either stdout or a file (and maybe a missing "flush"). HTH Christian Koen.Roelandt@mineco.fgov.be wrote:
Hi,
I'm a Haskell newbie using HaXml for the conversion of xml files into html files. I'm using GHC 6.4 to compile the program. When I run the program, it will not convert the whole file: the document tree is incomplete and will stop when the limit of e.g. 8k has been reached.
E.g. An xml file of 12.3k will result in a file of 8k and will stop at 8k An xml file of 15.7k will result in a file of 16k An xml file of 36k will result in a file of 24k
In an output to the screen (and not to a file), the whole document tree is being generated. Am I missing something obvious here (memory issues)? On compilation, ghc issues warnings about the class FiniteMap and Module IOExts being deprecated. Is this the cause? Any ideas?
Cheers,
K.