Bug 3337 - Support the Mozilla DOMParser and XMLSerializer objects
Summary: Support the Mozilla DOMParser and XMLSerializer objects
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 412
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Maciej Stachowiak
Depends on:
Reported: 2005-06-07 23:36 PDT by Anders Carlsson
Modified: 2019-02-06 09:03 PST (History)
1 user (show)

See Also:

Implement DOMParser (10.32 KB, patch)
2005-06-08 00:03 PDT, Anders Carlsson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 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
Comment 1 Dave Hyatt 2005-06-07 23:43:34 PDT
There are the tests that need to pass.


Our Apple bug for this is 3533735.
Comment 2 Anders Carlsson 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...
Comment 3 Maciej Stachowiak 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.
Comment 4 Maciej Stachowiak 2005-06-08 01:54:55 PDT
I fixed the tabs, added the moz pages as layout tests, and committed.
Comment 5 Chris Petersen 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.
Comment 6 Lucas Forschler 2019-02-06 09:03:30 PST
Mass moving XML DOM bugs to the "DOM" Component.