Hi François, Thanks for the info. I am aware of TAPS-840 but haven't studied the patch. It looks like that's the only solution for now. Without <!DOCTYPE html>, Firefox 3.6 renders the page in Quirks mode instead of Standards compliance mode, and I have already noticed some minor issues. I hope this patch gets integrated with Tapestry soon.
Benny 2011/1/12 François Facon <francois.fa...@atosorigin.com> > Hi Benny, > > In order to use html5 in our Web Mobile Solution, I have ask Robin to work > on html5 compatibility last year. > He had post our feedback in the mailing list. > The thread is here > > http://tapestry.1045711.n5.nabble.com/State-on-HTML5-integration-woodstox-rollback-td2470926.html > I suggest you also to have a look on the related Jira > https://issues.apache.org/jira/browse/TAP5-840 > > If you don't want to patch Tapestry, you have to know that currently most > of > modern browser run html5 tag even if you are not using > <!DOCTYPE html>. > > For client side detection Modernizr <http://www.modernizr.com/%20>is very > fine. > > > 2011/1/12 Benny Law <benny.mk....@gmail.com> > > > I am trying to convert my pages to HTML5 but am having problem getting > the > > correct DOCTYPE to be output. The <!DOCTYPE html> I put in the .tml file > is > > ignored, and the generated HTML code has no DOCTYPE. I'm interested in > how > > people are working around this. Thanks. > > > > Benny > > >