I am using N开发者_运维百科SXMLParsing to parse an XML , whose formatting is not in my control
From XML it seems it's using UTF-8 encoding, however i get illegal character encoding error when a character like '&' comes into picture.
Due to this i have to go the dirty way of breaking strings and parsing.
Any way out?
Suggestions ?
Thanks Yogurt
It sounds like you have malformed XML. "&" is the start of an entity in XML, e.g. &
or <
. Having a raw "&" by itself that doesn't match an entity is illegal.
精彩评论