Summary: | DOMParser reports parsing errors differently than | ||
---|---|---|---|
Product: | WebKit | Reporter: | Nicholas C. Zakas <webkit> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ap, cdumez |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows XP |
Description
Nicholas C. Zakas
2008-03-29 12:56:39 PDT
I cannot reproduce this. Try entering the following into the address bar: javascript:alert((new XMLSerializer).serializeToString((new DOMParser()).parseFromString("<xml>", "text/xml"))) Perhaps my original subject was incorrect. In Opera and FF, the <parsererror> element is the document element. In WebKit, it's inserted at the point of the parser error. This seems like a bug that should be fixed for interoperability. *** This bug has been marked as a duplicate of 13057 *** Mass moving XML DOM bugs to the "DOM" Component. |