Am 01.08.2011 10:39 schrieb Alessandro Molina:
Uhm, I agree that it is good to also have the doctype config option,
but I would like to avoid being forced to set both. I would really
prefer being able to set the doctype and method with only one
command.
>
As doctype is actually strictly related to the rendering method (it
doesn't make a lot of sense setting doctype to xhtml-strict and
rendering to html) we should probably let doctype also enforce the
rendering method if no rendering method is declared. This way we would
have both the doctype and method config options while making possible
to just set the doctype to enforce both. At this point default doctype
should probably be xhtml-transitional until we decide to switch to
html5.

Right, that's what I meant. If you specify a doctype, you don't need to specify a method. But for backward compatibility we still need to support the case that only a method is specified.

-- Christoph

--
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en.

Reply via email to