Bug 57145

Summary: New XMLReader Interface for Event-Oriented Parsing of XML
Product: WebKit Reporter: Alex Milowski <alex>
Component: XMLAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Enhancement CC: abarth, ap, cmarcelo, dglazkov, onlineapplicationform1, sourabh.editsoft
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   
Attachments:
Description Flags
The implementation code. none

Description Alex Milowski 2011-03-26 01:29:48 PDT
Created attachment 87021 [details]
The implementation code.

The enhancements enable the ability to bind XML efficiently to local data structures and to process large amounts of XML content with very little memory.
Comment 1 Dimitri Glazkov (Google) 2011-03-26 07:20:29 PDT
You asked on chromium-dev about making this work for Chromium. It's very easy to build Chromium port of WebKit (https://trac.webkit.org/wiki/Chromium):

update-webkit --chromium
build-webkit --chromium

This works in a standard WebKit checkout. You shouldn't need any additional bits of Chromium to download or install.

V8 bindings are built to mirror JSC bindings as much as possible, so there shouldn't be much work for you (aside from the custom bindings).
Comment 2 Alex Milowski 2011-03-26 07:26:02 PDT
(In reply to comment #1)
> You asked on chromium-dev about making this work for Chromium. It's very easy to build Chromium port of WebKit (https://trac.webkit.org/wiki/Chromium):
> 
> update-webkit --chromium
> build-webkit --chromium
> 
> This works in a standard WebKit checkout. You shouldn't need any additional bits of Chromium to download or install.
> 
> V8 bindings are built to mirror JSC bindings as much as possible, so there shouldn't be much work for you (aside from the custom bindings).

OK. I do have custom bindings.  Are there good examples to follow for that?
Comment 3 Adam Barth 2011-03-26 11:49:08 PDT
> OK. I do have custom bindings.  Are there good examples to follow for that?

Yes: http://trac.webkit.org/browser/trunk/Source/WebCore/bindings/v8/custom