I am trying to parse a XML file in Android. It contains a tag with special characters like
<subject><![CDATA[FÚTBOL]]></subject>
while trying to parse the above text, i get an exception saying "XML token not well formed". I am using the XMLPullParser and has also sepcified the encoding using
parser.setInput(this.getInputStream(),"iso-8859-1");
I am not getting error while reading other characters like "áñí". I tried with different encodings but they all gave error.
Update
The problem was solved when i used SAX Parser instead of XML Pull Parser.