Kevin Kalupson wrote:
> The importance to me is that there isn't a regression to the duplicate
> xml headers when templates render.  I like to validate my templates as I
> go and not have to hack them to then test my rendered template.

Good point.  If you're statically validating all templates, then putting 
the doctype in every template is a good thing.  However, if you're not 
statically validating, then putting the doctype in every template is 
hazardous, because it's easy to forget, and if you forget, the browser 
quietly slips into quirks mode, causing insidious little CSS bugs.

The moral: I guess static template validation would have saved me those 
hours I spent debugging CSS this week, and maybe putting the doctype in 
the main template has more cons than pros.


Repoze-dev mailing list

Reply via email to