Hi Henry, it's not an encoding error but an error concerning the validation of the document.
The document "/usr/share/xml/iso-codes/iso_3166_2.xml" is not valid with respect to its internal DTD. The opening tag <iso_3166_country code="GH"> on line 3711 does not have a closing tag. That closing tag should be inserted directly in front of <!-- Greenland --> <iso_3166_country code="GL" /> on line 3735. Further the "/" for an empty element for the "GL" code must be removed. So it's not an error in HXT, but HXT has found an error in the input file. The input file is not valid XML. Solution: Turn off validation and live with the wrong structure of that document, or correct the XML file (and give the maintainers of that file a bug report). But with the error message HXT gave you, there is some room for improvements. Cheers, Uwe -- Uwe Schmidt FH Wedel _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe