Will the formatter fix syntax errors in corrupted XML payloads?
The parser attempts to auto-correct minor structural issues like unclosed trailing tags or missing quotes. However, heavily corrupted XML trees will fail the DOMParser validation, and the tool will highlight the exact line and column where the parsing failure occurred.