[Webkit-unassigned] [Bug 11633] New: Implement XMLDocument properties xmlEncoding, xmlVersion, and xmlStandalone

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 17 09:56:27 PST 2006


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

           Summary: Implement XMLDocument properties xmlEncoding,
                    xmlVersion, and xmlStandalone
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: jcostell at tibco.com


For parity with Firefox:

var req = new XMLHttpRequest();
req.open("GET", "test.xml", false);
req.overrideMimeType("text/xml");
req.send(null);

var doc = req.responseXML;
assertEquals("utf-8", doc.xmlEncoding.toLowerCase());
assertEquals("1.0", doc.xmlVersion);
assertEquals("yes", doc.xmlStandalone);

Where test.xml is:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<data/> 


-- 
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