On 18 Sep 2007, at 05:55, Julian Tarkhanov wrote:

> And yes, I am using XHTML Transitional exclusively for the last five
> years, if not because it has stricter and more
> meaningful rules (that make you close tags), and because such
> behaviour makes things both more readable
> (like the end statement in Ruby) and easier for the parsers.

(sighs...)

Apart from the fact that I've closed the ticket, producing XHTML and  
serving it as text/html makes no difference for the parser in the  
various web browsers as it's all treated as HTML. It may make it  
easier for your validator of choice to parse it but judging by the  
fact that the majority of pages with XHTML doctypes aren't even well- 
formed that doesn't seem to have had a major impact.

I'd also question the any improvement in readability gained from  
added slashes to empty tags but I guess that's a matter of personal  
preference.

Anyway consider the matter closed! :-)


Andrew White

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to