Take the 2-minute tour ×

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

share|improve this question
add comment

2 Answers

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?

share|improve this answer
add comment
up vote 2 down vote accepted

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:

share|improve this answer
add comment

Your Answer


