Breaks on encountering Ampersand #6

ankitaggarwal opened this Issue Feb 25, 2012 · 2 comments


None yet
2 participants

Parsing breaks on Target (iPod Touch) when & is encountered in document.

NOTE: It works fine on simulator.

Example XML: <app href=";mt=8" share="true" />

Example Code:
for (SMXMLElement *app in [document.root childrenNamed:@"app"]) { // Code application.appURL = [app attributeNamed:@"href"]; }


nfarina commented Feb 25, 2012

It works for me on my iPhone 4S running 5.0.1. I'll test again when I get access to our old iPod Touch at the office on Monday.

One thing to note is that SMXMLDocument doesn't do any of the XML parsing itself, it simply uses NSXMLParser. So if the XML parsing is not working for a particular document, it's highly likely that the problem lies within NSXMLParser and there's nothing I could do to fix it.


nfarina commented Mar 1, 2012

Did you discover the cause of the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment