No longer showing XML parsing errors
Wednesday, September 28, 2011 12:11:00 PM
Following up to my article explaining the occasional ‘XML parsing failed’ error messages. Starting with today’s Opera Next release the error will be handled silently by reparsing the document as HTML. The user will no longer be shown an error and prompted to reparse as HTML. The error message will be printed to the error console instead.
This is a move from developer centric do-what-the-spec-says to what other browsers are doing by applying magic that fixes the problem for the end user. To be, this error seems like just one of those things that should be on by default in a separate Developer/Debug Mode in the browser.
As we no longer show the error, it also means that Opera will no longer be a fully valid XML parser.
Update: the ODIN blog has more information about this change.