Hi

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
library.

This will also make Webkit lightweight.

Thanks & Regards
Niilesh

On Mon, Sep 20, 2010 at 5:16 PM, Bharathwaaj Srinivasan <
[email protected]> wrote:

> Hi,
>
> 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,
> Bharath
>
> _______________________________________________
> webkit-help mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>
>
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to