[Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/src/zope/pagetemplate/ Now input encoding of a PageTemplateFile in 'html' mode is determined

Fred Drake fdrake at gmail.com
Thu Jul 21 09:52:11 EDT 2005


On 7/21/05, Dmitry Vasiliev <dima at hlabs.spb.ru> wrote:
> Log message for revision 37358:
>   Now input encoding of a PageTemplateFile in 'html' mode is determined
>   by <meta> declaration and then the declaration will stripped.
> 
>   Open question:
>       Shouldn't <meta>/<?xml?> stripping be in PageTemplate.__call__()?

This should be stripped by the compilation phase.  Since those should
never be part of the output, they need not be represented in the
compiled template at all.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
Zope Corporation


More information about the Zope3-dev mailing list