[Zope] Re: Filesystem Page Template lowercase-ifying all my tags

Chris Withers chris at simplistix.co.uk
Wed Oct 26 10:33:49 EDT 2005


Floyd May wrote:
> I'm constructing a VERY large XML file using a python script that
> buffers writes to REQUEST.RESPONSE.  The script calls the page
> templates, and then writes the rendered page templates to
> REQUEST.RESPONSE through the buffering mechanism.
> 
> I have attempted adding .metadata files for each of my templates, with
> the following content:
> ---8<------
> [default]
> content_type=text/xml
> ---8<------
> It didn't work.  I'm still at a loss for how to make this all happen,
> I can't have my XML tags get lower-case-ified.  Please help!
> 
>  Zope 2.7.7-final, python 2.3.5, freebsd5
>  Page Templates 1.4.0
> CMF 1.4.8

Yes, it's a bug in CMF 1.4's parsing of FSPageTemplates that stomps on 
the content type and sets it back to text/html every time.

Can you upgrade to CMF 1.5?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope mailing list