android : sax Xml parsing
Posted
by Ram
on Stack Overflow
See other posts from Stack Overflow
or by Ram
Published on 2010-05-06T04:55:33Z
Indexed on
2010/05/06
4:58 UTC
Read the original article
Hit count: 255
android
Team,
I am facing some issue at the time of parsing the XML, but the same works in Java program... When I run the same code through android prgming its failing to parse...
InputStream byteArrayInputStream = new ByteArrayInputStream( response.toString().getBytes());
SAXParser parser = SAXParserFactory.newInstance().newSAXParser(); parser.parse(byteArrayInputStream, xmlHandler);
Facing the following error
DTD handlers aren't supported
Any help is greatly appreciated.
Thanks, Ramesh
© Stack Overflow or respective owner