You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by VFChoo <vf...@excite.com> on 2001/01/04 11:47:31 UTC

Xerces & encoding

Hello All!!

I'm having problems parsing an XML document with 1.2.1. The XML document is
encoded as 'ISO8859-1'. Java said "org.xml.sax.SAXParseException: The
encoding "ISO8859-1" is not supported." Is this encoding not supported? I
can parse the same document with JAXP?

Help pls?

Thanks,
VFC





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/



Re: Xerces & encoding

Posted by Andy Clark <an...@apache.org>.
VFChoo wrote:
> I'm having problems parsing an XML document with 1.2.1. The XML document is
> encoded as 'ISO8859-1'. Java said "org.xml.sax.SAXParseException: The
> encoding "ISO8859-1" is not supported." Is this encoding not supported? I
> can parse the same document with JAXP?

Use the IANA name for ISO Latin 1 which is "ISO-8859-1".

-- 
Andy Clark * IBM, TRL - Japan * andyc@apache.org