[webkit-help] Modifying Document after parsing/tokenizing
vniles at gmail.com
Wed Sep 22 02:28:07 PDT 2010
Better way to handle WML content ( than modifying anything in
Webkit/WebCore) is to implement its logic seperately , as it adheres to
different set of rules than HTML specs.
What , i think, at most u can do is get WML data downloaded using platform
network layer and initiate WML engine , may be a seperate process or
This will also make Webkit lightweight.
Thanks & Regards
On Mon, Sep 20, 2010 at 5:16 PM, Bharathwaaj Srinivasan <
bharathwaaj.s at gmail.com> wrote:
> From the code walk through I did, WebKit identifies which document to
> create based on mime type it gets. Is this correct? Or is there any other
> ways of identifying the document?
> Another situation:
> Suppose I get a wml document with application/xhtml+xml (assuming a bug in
> server) as mime type
> - XHTMLDocument gets created in DOMImplementation
> - XMLTokenizer is created
> - and then after seeing the namespace uri in the tokenizer, i get to know
> that it is a WML document.
> Is it possible to now modify the XHTMLDocument to WMLDocument? If yes where
> should this code need to be added. What is the safest procedure for
> implementing this? What are the things that need to be taken care?
> Kind regards,
> webkit-help mailing list
> webkit-help at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-help