Earlier quoted context omitted.
Malformed XML is everywhere. Especially in enterprise environments. And there's a reason web browsers have an extremely detailed spec on how to parse malformed XML.
Web browsers refuse to parse malformed XML.
Re: Parsing Malformed JSON
#11Only when specific uncommon headers are set. Under normal circumstances, if you feed them a malformed xhtml document, they will parse it.