[Webkit-unassigned] [Bug 18210] New: DOMParser does not report parsing errors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 29 12:56:39 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18210

           Summary: DOMParser does not report parsing errors
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkit at nczonline.net


The DOMParser object doesn't report parsing errors. The following will cause a
parser error in both Firefox and Opera:

var xmldom = (new DOMParser()).parseFromString("<xml>", "text/xml");

The returned value is a document whose document element is <parseerror/> in
Firefox and Opera; in WebKit it is <xml/> and no error occurs.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list