android Sax parsing exception for "»" character
hi friends i'm using Sax parser for parsing my xml file开发者_运维问答 which i recieve from the internet... The problem is that the normal xml is parsed fine except the xml files which have "»" symbol in the attributes...
everytime i try parsing the file i get the following error
02-11 16:57:35.547: INFO/System.out(754): org.apache.harmony.xml.ExpatParser$ParseException: At line 9, column 0: not well-formed (invalid token)
Is there any methid by which i can bypass this character ar handle it myself through java code??? Thanx in advance...
Encode »
as the XML entity »
instead.
精彩评论