Note, I filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=17775 to make this change.
From: [email protected] [mailto:[email protected]] On Behalf Of Yehuda Katz Sent: Wednesday, July 11, 2012 9:12 PM To: Tony Ross Cc: João Eiras; [email protected] Subject: Re: DOMParser Errors Should Be Exceptions If this is the case, can we consider changing the spec? Yehuda Katz (ph) 718.877.1325 On Wed, May 23, 2012 at 12:38 PM, Tony Ross <[email protected]<mailto:[email protected]>> wrote: > From: João Eiras [mailto:[email protected]<mailto:[email protected]>] > Opera thrown an exception long time ago and since version 9.5 it changed > the behavior to return the bogus parsererror tree because it caused > yahoo mail to fail back them (among other things). > > While the current behavior of returning the parsererror document is > inappropriate, I afraid it also unchangeable. Has this been examined recently? In IE9+ DOMParser throws an exception when an XML parsing error is encountered. I've yet to hear of this causing a problem. -Tony
