tags:

views:

63

answers:

2

When using NSXMLParser, what does NSXMLParserUndeclaredEntityError mean? Apples documentation is completely unhelpful

A: 

Have a look at the first answer on http://stackoverflow.com/questions/2370842/resolving-html-entities-with-nsxmlparse-on-iphone where it lists the standard supported entities. Are you able to post your XML that you're parsing?

Alistair
A: 

You get the NSXMLParserUndeclaredEntityError when you use a special character that isn't expected by the NSXMLParser for example &foo;

The only valid special characters that the NSXMLParser will recognize are:

<
>
'
"
Ben