开发者

What does NSXMLParserUndeclaredEntityError mean?

开发者 https://www.devze.com 2022-12-31 22:06 出处:网络
When using NSXMLParser, what does NSXMLParserUndeclaredEnti开发者_StackOverflow社区tyError mean? Apples documentation is completely unhelpfulHave a look at the first answer on Resolving html entities

When using NSXMLParser, what does NSXMLParserUndeclaredEnti开发者_StackOverflow社区tyError mean? Apples documentation is completely unhelpful


Have a look at the first answer on Resolving html entities with NSXMLParser on iPhone where it lists the standard supported entities. Are you able to post your XML that you're parsing?


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:

<
>
'
"
0

精彩评论

暂无评论...
验证码 换一张
取 消