Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AQXMLParser/NSXMLParser delegate call behavior discrepancy #7

Open
rlwimi opened this issue Jan 18, 2011 · 0 comments
Open

AQXMLParser/NSXMLParser delegate call behavior discrepancy #7

rlwimi opened this issue Jan 18, 2011 · 0 comments

Comments

@rlwimi
Copy link

rlwimi commented Jan 18, 2011

I'm parsing RSS1/2/Atom feeds with AQXMLParser, and I find a discrepancy between the behavior for the delegate call parser:didEndElement:namespaceURI:qualifiedName:. AQXMLParser sends nil for qualifiedName when the element is unqualified, but NSXMLParser sends qualifiedName equal to element name when it is unqualified.

I fixed this for myself pretty naively by returning completeStr for qualifiedName in the AQXMLParser.m line 377 didEndElement delegate call for the prefixStr==nil case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant