I have code that looks like this:
SAXParser sp = new SAXParser();
sp.setContentHandler(tch); //tch is my content handler
InputSource is = null;
is = new InputSource("/tmp/temp1.xml");
sp.parse(is);
My xml starts with <?xml version="1.0" encoding="ISO-8859-1"?>
DOMParser handles the encoding properly, but SAXParser does not.
So how do I handle this?
---------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]