It would be nice to support parsing xml documents from strings using the DOMParser object from Mozilla, described at http://xulplanet.com/references/objref/DOMParser.html I guess only parseFromString would be usable
There are the tests that need to pass. http://www.mozilla.org/xmlextras/parseserialize.html http://www.mozilla.org/xmlextras/parseserializedisplay.html Our Apple bug for this is 3533735.
Created attachment 2143 [details] Implement DOMParser Here's a patch that implements DOMParser. While it passes both tests, I'm not sure at all about how correct it is otherwise...
Generally, the patch looks great. My only feedback is to convert the tabs to spaces, and to add new layout tests for DOMParser (they could probably be made pretty easily out of the mozilla tests). In fact, it looks like they would work as-is.
I fixed the tabs, added the moz pages as layout tests, and committed.
Reporter, please mark this bug as Verified if this issue has been fixed in the latest TOT Webkit.
Mass moving XML DOM bugs to the "DOM" Component.