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.









bachokocho # Wednesday, September 28, 2011 12:36:14 PM
ПавелGemorroj # Wednesday, September 28, 2011 12:54:33 PM
Michael A. Puls IIburnout426 # Wednesday, September 28, 2011 3:25:40 PM
Would still be cool to have an opera:config option to turn it off though when needed. Looked but didn't see one. This would be especially cool for override_downloaded.ini and acid3.acidtests.org. Something like UserPrefs|XMLReparseAsHTMLOnError=0.
Swapnil RustagiSwapnil99pro # Wednesday, September 28, 2011 4:00:46 PM
DSK-312074 (Bypass XML parsing failed message by automatically reparsing as HTML) needs to be re-done. This change has broken something. Now Acid3 only displays 99/100 score on a fresh install with this build 1076.
This is what fails in Opera 12.00 build 1076-
Test 80 failed: XML well-formedness error didn't stop script from executing.
Charles SchlossChas4 # Wednesday, September 28, 2011 4:08:29 PM
every time, Did it most of the time to me unless they fixed itIt used to do it to me every time not sure why no it did not today
Swapnil RustagiSwapnil99pro # Wednesday, September 28, 2011 4:12:44 PM
Originally posted by Chas4:
Working fine here with a clean-install.
Anonymous # Thursday, September 29, 2011 12:48:18 PM
Charles SchlossChas4 # Friday, September 30, 2011 3:33:34 AM
Originally posted by Swapnil99pro:
I used to get it all the time a few days ago on there
Charles SchlossChas4 # Sunday, October 2, 2011 8:30:40 PM
XML parsing failed: syntax error (Line: 43, Character: 0)
Swapnil RustagiSwapnil99pro # Monday, October 3, 2011 3:37:27 AM
Originally posted by Chas4:
Probably something wrong in your configuration. The site works perfect and I even started a download successfully.
Clean-install of Opera Next 12.00 build 1076
Windows 7 SP1 x86
Charles SchlossChas4 # Monday, October 3, 2011 12:48:11 PM
Originally posted by Swapnil99pro:
Nope using the stable 11.51 as my main, I know it has changed in 12
Charles SchlossChas4 # Friday, October 14, 2011 3:16:45 AM
strange that it not always shown as error some times it goes straight to the page