Bug 57145 - New XMLReader Interface for Event-Oriented Parsing of XML
Summary: New XMLReader Interface for Event-Oriented Parsing of XML
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.5
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-26 01:29 PDT by Alex Milowski
Modified: 2019-05-02 16:25 PDT (History)
6 users (show)

See Also:


Attachments
The implementation code. (113.68 KB, patch)
2011-03-26 01:29 PDT, Alex Milowski
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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