This is a fairly retarded argument. Rails produces an XHTML  
transitional doctype, so it's all irrelevant.

If you want your own doctype, then type it in. It's not hard.

Julian.

----------------------------------------------
Learn: http://sensei.zenunit.com/
Last updated 20-May-09 (Rails, Basic Unix)
Blog: http://random8.zenunit.com/
Twitter: http://twitter.com/random8r


On 27/05/2009, at 9:33 PM, Rimantas Liubertas wrote:

>
>> Wow, where to begin?  Your references are very interesting, but as I
>> read them, it seems to me that their authors have leapt to  
>> conclusions
>> from a farrago of spurious "facts" and unwarranted assumptions.
>
> You can begin by reading apropriate specifications and trying things
> out. Then you will very well see how "unwarranted" those assumptions  
> are.
>
>>> It is very unfortunate, that RoR chose this path. Especially now,
>>> when some may want to use HTML5.
>>
>> HTML 5 supports at least some of the XML-style syntax, including  
>> things
>> like "<br/>", so I wonder how much of a problem this would be in
>> practice.
>
> HTML5 supports two different modes of serialization. Once again
> using XML brings nothing to the table if you use text/html.
>
>> I'll try to write a detailed explanation of why your references  
>> *really*
>> don't impress me, but for now let me just say that while they provide
>> some interesting information on the issues involved, I do not think  
>> that
>> they have sufficient credibility for their recommendations to be  
>> worth
>> following.
>
> Well, even if names of Anne van Kesteren (Opera), Ian  
> Hickson(Google, author
> and maintainer of Acid2 and Acid3 tests, editor of HTML5 spec),
> Lachlan Hunt (Opera), Roger Johansson (prominent web standards  
> advocate)
> are not credible enough, you can always try for yourself and see.
> I've done that five years ago: http://rimantas.com/bits/xhtml-test.php
>
> It is trivial to test if DOCTYPE affects if page is processed with  
> HTML or
> XHTML parser (it doesn't) or is it only influenced by MIME type (it  
> is).
> Also it is not difficult to see that in XHTML mode CSS may be  
> interpreted
> differently, Javascript is affected (just try to add line if (x<y)  
> in your
> Javascript, do not escape it with CDATA and serve with application/ 
> xhtml+xml.
> You will see what I am talking about. Or try to wrap your JS code with
> <!-- //-->
> and see if it runs at all).
>
> Regards,
> Rimantas
> --
> http://rimantas.com/
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to