prof18 / RSS-Parser

A Kotlin Multiplatform library to parse a RSS Feed
Apache License 2.0
516 stars 128 forks source link

Add fallback to prevent failing on malformed XML - Fix #159 #172

Closed prof18 closed 8 months ago

prof18 commented 8 months ago

If the parsing fails because the XML is malformed, it will re-download the XML as a string, clean it up, and try to parse it again. If it fails again, it will throw an RssParsingException.

In this way XML with unwanted whitespaces will be parsed