VERIFIED FIXED3337
Support the Mozilla DOMParser and XMLSerializer objects
https://bugs.webkit.org/show_bug.cgi?id=3337
Summary Support the Mozilla DOMParser and XMLSerializer objects
Anders Carlsson
Reported 2005-06-07 23:36:19 PDT
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
Attachments
Implement DOMParser (10.32 KB, patch)
2005-06-08 00:03 PDT, Anders Carlsson
no flags
Dave Hyatt
Comment 1 2005-06-07 23:43:34 PDT
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.
Anders Carlsson
Comment 2 2005-06-08 00:03:06 PDT
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...
Maciej Stachowiak
Comment 3 2005-06-08 00:37:30 PDT
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.
Maciej Stachowiak
Comment 4 2005-06-08 01:54:55 PDT
I fixed the tabs, added the moz pages as layout tests, and committed.
Chris Petersen
Comment 5 2005-06-18 23:03:36 PDT
Reporter, please mark this bug as Verified if this issue has been fixed in the latest TOT Webkit.
Lucas Forschler
Comment 6 2019-02-06 09:03:30 PST
Mass moving XML DOM bugs to the "DOM" Component.
Note You need to log in before you can comment on or make changes to this bug.