Hello everybody,

I use Xerces to parse documents via sax. I've an ErrorHandler and my parser
features are like this:

XMLReader parser = XMLReaderFactory.createXMLReader(
"org.apache.xerces.parsers.SAXParser" );
parser.setErrorHandler( errHandler );
parser.setFeature( "http://xml.org/sax/features/validation";, true );
parser.setFeature( "http://xml.org/sax/features/namespaces";, false );

When i parse a document like this, xerces errorhandler raise no error
<?xml version='1.0' encoding='ISO-8859-1' standalone="yes"?>
<document>� �, �, �, �, �, �, and �.</document>
However all those caracters doesn't belong to the ISO-8859-1 charmap but
ISO-8859-15 !!

Maybe i've done something wrong or i forgot something... Can u help me, i'm
blind.

Thanks

PS1: using Xerces-J 1.4.3
PS2: there are no entity in the dtd



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to