wrote:
> Hi,
>
> We are using SAXParser (xerces) for parsing an xml with utf-8 encoding.
> For some special character it gives SAXException with error message -
> "The invalid character is found in the document ". But for other errors
> also it gives the same Exception only with different message.
> Is there any way to detect that the error is because of the invalid
> character in xml ?
Run a standalone parser that gives you line number and character number,
eg onsgmls, rxp, etc.
///Peter
--
XML FAQ:
http://xml.silmaril.ie/