At the moment the the DOMParser component from the xmlextras module doesn't report any fatal errors (such as XML that is not well-formed). It appears that some error message is included in the (DOM) document tree. It would be nice if we could catch parser exception using the ECMAScript try/catch/finally construct.
17 years ago
I am taking all XMLExtras bugs to make it easier to see what I am working on...
This is also something that should be replaced with DOM Level 3 Load & Save module implementation.
I do not want to change these so close to the milestone deadline. Besides, I want to replace the DOMParser and XMLSerializer with DOM 3 Load & Save. Moving to 0.9.1 for now.
Doesn't look like this is getting fixed before the freeze tomorrow night. Pushing out a milestone. Please correct if I'm mistaken.
(About DOM LS and error reporting: note bug 155749 comments 26-32.)
This bug is laying dormant for a while... :(
heh, an open bug for 10 years... :) and it just bit me... :(
Invalid per spec: <http://html5.org/specs/dom-parsing.html> and Opera reports this would be web-incompatible.