Hello, Currently the template javascript files IFrameTemplate.js, SingleScriptTemplate.js, and XSTemplate.js in com/google/gwt/core/ linker and HostedModeTemplate.js in com/google/gwt/core/ext/linker/ impl use document.write to manipulate the HTML page. This is not allowed in XHTML. I changed IFrameTemplate.js so it now uses equivalent DOM statements instead and that is working. XHTML documents are useful since one can use embedded SVG and MathML.
If you are interested I can send the modified IFrameTemplate.js to you to check out if I did it the right way. Then we can update the other template javascript files. Hope to hear from you! Kind regards, Henri Manson -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
