Closed
Bug 45566
Opened 25 years ago
Closed 13 years ago
DOMParser should throw exceptions for not-well-formed XML
Categories
(Core :: XML, enhancement)
Core
XML
Tracking
()
RESOLVED
INVALID
People
(Reporter: taras.tielkes, Unassigned)
References
Details
Attachments
(1 file)
441 bytes,
text/html
|
Details |
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.
Reporter | ||
Comment 1•25 years ago
|
||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9
I am taking all XMLExtras bugs to make it easier to see what I am working on...
Assignee: vidur → heikki
This is also something that should be replaced with DOM Level 3 Load & Save module implementation.
Whiteboard: [Replace with DOM 3 Load & Save]
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.
Target Milestone: mozilla0.9 → mozilla0.9.1
Updated•24 years ago
|
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Updated•24 years ago
|
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Comment 5•24 years ago
|
||
Doesn't look like this is getting fixed before the freeze tomorrow night. Pushing out a milestone. Please correct if I'm mistaken.
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Updated•23 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Updated•23 years ago
|
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Updated•23 years ago
|
Target Milestone: mozilla0.9.6 → mozilla0.9.8
Updated•23 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Updated•23 years ago
|
Target Milestone: mozilla0.9.9 → Future
Updated•22 years ago
|
QA Contact: petersen → rakeshmishra
Updated•22 years ago
|
QA Contact: rakeshmishra → ashishbhatt
Comment 6•19 years ago
|
||
(About DOM LS and error reporting: note bug 155749 comments 26-32.)
Comment 7•17 years ago
|
||
This bug is laying dormant for a while... :(
Updated•17 years ago
|
Assignee: hjtoi-bugzilla → nobody
Blocks: 289714
Priority: P3 → --
QA Contact: ashshbhatt → xml
Whiteboard: [Replace with DOM 3 Load & Save]
Target Milestone: Future → ---
Comment 8•15 years ago
|
||
heh, an open bug for 10 years... :) and it just bit me... :(
Comment 9•13 years ago
|
||
Invalid per spec: <http://html5.org/specs/dom-parsing.html> and Opera reports this would be web-incompatible.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•