nmdias / FeedKit

An RSS, Atom and JSON Feed parser written in Swift
MIT License
1.19k stars 173 forks source link

Feed does not return any results. #94

Closed neilt closed 5 years ago

neilt commented 5 years ago

When parsing the following feed, knowingly bad.

http://online.barrons.com/xml/rss/3_7533.xml

No results are returned in the parseAsync() callback block.

Code to test

let parser = FeedParser(URL: "http://online.barrons.com/xml/rss/3_7533.xml")
parser.parseAsync(queue: DispatchQueue.global(qos: .userInitiated)) { (result) in
    }

Expected some form of error so the feed can be marked bad.

neilt commented 5 years ago

Never mind. User Error.