Hi r4nd,
I think the question to ask is not which doctypes GWT officially supports,
but which browser render modes does GWT support. The answer to that question
is both quirks mode and standards mode, with standards mode support being
the most recent.

That said, doctypes have the effect of triggering render modes in various
browsers. The doctype you're using will trigger standards mode rendering in
most browsers, and so will be supported by GWT. However, an important point
to note is that you shouldn't serve your host HTML page with an
application/xhtml+xml Content Type header. This will activate XML parsing on
browsers that support that content type and will generally have negative
effects on the performance of your application, and won't work in GWT.

Setting the XHTML attribute in the doctype doesn't have the effect of
triggering XML parsing, and so GWT will work with the doctype you set above.

A good read if you're looking for more information about doctypes and
browser render modes:
http://hsivonen.iki.fi/doctype/

<http://hsivonen.iki.fi/doctype/>Hope that helps,
-Sumit Chandel

On Mon, Aug 24, 2009 at 6:48 AM, r4nd <ivan...@gmail.com> wrote:

>
> What DOCTYPEs does GWT officially support as of v1.7?  I noticed third
> party modules like GXT requires HTML 4.0 Transitional.  Our project is
> currently using XHTML 1.0 Strict.  I am curious what GWT developers
> recommend for working with GWT.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to