[XML-SIG] Character encodings and expat

Nicolas Chauvat Nicolas.Chauvat@logilab.fr
Wed, 25 Oct 2000 16:45:00 +0200 (CEST)


It looks like expat refuses the alias "latin1" for the encoding
"ISO-8859-1" as it returns a fatalError that raises a SaxException when

Sax2.FromXml('<?xml version=3D"1.0" encoding=3D"latin1"?><try>=E0=E9=E8=F9<=

The XML spec says that parsers *may* recognize aliases defined by IANA, so
I wouldn't call it a bug. Did I miss a parameter to set up somewhere to
get expat to recognize "latin1" ?

Nicolas Chauvat

http://www.logilab.com - "Mais o=F9 est donc Ornicar ?" - LOGILAB, Paris (F=