That's exactly why I'm saying not to waste your time...Rails lays it down in XHTML syntax so if he changed the doctype from XHTML specific, then his validation won't work. Hence, don't waste your time changing it if you're not worried about validation.
On May 27, 3:27 pm, Hassan Schroeder <[email protected]> wrote: > On Wed, May 27, 2009 at 1:15 PM, Jian Lin > > <[email protected]> wrote: > > i think there are time when i actually want to validate my page > > output... especially if the page is complicated with layouts and div's. > > Absolutely -- validation is an essential web developer troubleshooting > tool. So make it all valid XHTML and be happy, regardless of whether > you're ultimately serving it as text/html or application/xhtml+xml :-) > > -- > Hassan Schroeder ------------------------ [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

