RE: DOMParser Errors Should Be Exceptions

> From: João Eiras [mailto:joaoe@opera.com]

> 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

Received on Wednesday, 23 May 2012 19:39:18 UTC