What is Malformed XML Response?
A Malformed XML Response occurs when a target server returns a payload with an XML content type, but the body contains syntax errors that violate the strict XML specification. Unlike HTML, which browsers and parsers forgive, XML is designed to fail fatally on the first error. For a scraping pipeline, an unescaped ampersand or an unclosed tag means an immediate parser crash unless fallback recovery is explicitly engineered.