NSXMLParser rss issue NSXMLParserInvalidCharacterError
Posted
by Chris Van Buskirk
on Stack Overflow
See other posts from Stack Overflow
or by Chris Van Buskirk
Published on 2009-07-30T16:50:04Z
Indexed on
2010/05/24
10:01 UTC
Read the original article
Hit count: 423
NSXMLParserInvalidCharacterError # 9
This is the error I get when I hit a weird character (like quotes copied and pasted from word to the web form, that end up in the feed). The feed I am using is not giving an encoding, and their is no hope for me to get them to change that. This is all I get in the header:
< ?xml version="1.0"?> < rss version="2.0">
What can I do about illegal characters when parsing feeds? Do I sweep the data prior to the parse? Is there something I am missing in the API? Has anyone dealt with this issue?
© Stack Overflow or respective owner