Am 08.02.2012 10:21, schrieb Alessandro Molina:
I checked on code and you are right, the text/xml doc is missing. You should be able to solve your issue by monkeypatching the RenderGenshi.doctypes_for_content_type adding the knowledge about text/xml.
Hm, it seems not even that will help. The real problem is that the templating.genshi.doctype and templating.genshi.method settings and their default value "xhtml" take precedence over auto-determining the doctype via response.content_type, so that our nice auto-determination mechanism never really gets executed.
Your last patch solves the op's problem, but now it levers out both the config settings and the auto-determination which is even worse.
This also reveals that we have not enough unit tests for this issue. I'll work on these problems today. -- Christoph -- You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en.

