I have looked at the patch provided in
https://issues.apache.org/jira/browse/TAP5-840 but it seems to be dealing
with the issue of entities only and it's not for Tapestry 5.1.0.5. What I
really want is to be able to output <!DOCTYPE html>. Putting this in the
.tml file isn't working. Can somebody suggest a solution for this please?

Benny

On Wed, Jan 12, 2011 at 9:47 AM, Benny Law <[email protected]> wrote:

> 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 <[email protected]>
>
> 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 <[email protected]>
>>
>> > 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
>> >
>>
>
>

Reply via email to