You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2019. It is now read-only.
User is never blocked by partially broken feeds they have no control over
Cons
Developers are used to libraries throwing exceptions if something is wrong
We're not spreading the culture of following the standards
Things we could be lenient about:
Incorrect BOM
Absent XML declaration
Incorrect declared encoding
Incorrect or missing XML namespaces
Unescaped XML entities (& instead of proper &)
Missing required tags or attributes
Invalid dates
Unexpected values
If the feed is so broken we can't fix it, we could throw an exception. Non-fatal errors can be exposed in the API, so that the user can decide if they want to treat them as fatal.