I am using apple's seismicxml sample app
Loading
to learn about NSXMLParser. I altered one line of the code in the appdelegate.m to point the xml file fetch at my own file. I also have the original RSS file on my web server for comparison. I tried to use my own file and was getting Error 5 (premature end of doc.) By manipulating the xml file I learned what the issue is (but not how to fix it.) The app chokes when the Root Element in the XML does not start with the string "feed". "feedthemonkey" works but "ifeedthemonkey" does not. For the record, my own file has "xml" as the root element.
To clarify, this doc works:
<feed/>
This does not:
<myfeed/>
I have googled diligently to no avail. My first guess was some code in the parser implementation looking for "feed", but there is none. I also thought that maybe a value was set looking for RSS specific format. I could not find it.
Many have studied this example from Apple. Hopefully this is something very simple I am missing.
Thanks!