#1963: Pages of quickstarted TG 1.1 app do not validate
-------------------------+--------------------------------------------------
Reporter: chrisz | Owner: chrisz
Type: defect | Status: reopened
Priority: high | Milestone: 1.1
Component: TurboGears | Version: 1.1 HEAD
Severity: major | Resolution:
Keywords: needs tests |
-------------------------+--------------------------------------------------
Changes (by Chris Arndt):
* status: closed => reopened
* resolution: wontfix =>
* milestone: 1.1b2 => 1.1
Comment:
It seems like setting `genshi.default_doctype` to default to `html` wasn't
such a good idea. The Genshi buffet plugin will then add a doctype to pure
XML output, even if `format=xml` is specified in the `expose` decorator.
This, for example breaks the Genshi output of the new !TurboFeeds version
0.2b where the doctype is inserted even after the XML declaration at the
top!
Is there any way to work around this? Is this a bug in the Genshi plugin
or the expected behaviour?
What would be really helpful if TG allowed to set template engine options
on a controller (method) basis and not only globally but unfortunately the
buffet API is not designed for this.
--
Ticket URL: <http://trac.turbogears.org/ticket/1963#comment:15>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---