Simon King schrieb: > It's a shame that this isn't easier to do. I was under the impression > that (at least for "web sites" rather than "web services"), HTML is > preferred over XHTML. In fact, I think the default for TG2 is to serve > XHTML with a content type of text/html, which seems wrong.
No, it's not wrong (at least for XHTML 1.0); it's a concession to MSIE's badness - I think even the latest MSIE 8 doesn't support real XHTML. http://www.w3.org/MarkUp/2004/xhtml-faq#texthtml http://blog.deconcept.com/2004/11/03/why-its-ok-to-send-xhtml-as-text-html/ One possible solution that has been discussed for TG1 already is to use content negotiation, making an exception for MSIE. But this solution has several drawbacks, too. Anyway, TG2 should be improved to make switching between XHTML and HTML much easier (as easy as it was in TG1), and I think we should also start supporting HTML5. -- 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 -~----------~----~----~----~------~----~------~--~---

