#1998: outputformat="xhtml" is incompatible with some browsers.
------------------------+---------------------------------------------------
 Reporter:  ondrejj     |        Owner:  faide
     Type:  defect      |       Status:  new  
 Priority:  normal      |    Milestone:  1.1  
Component:  TurboGears  |      Version:  1.0.7
 Severity:  normal      |   Resolution:       
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by chrisz):

 Since you say "''also'' IE does not know about app/xhtml+xml", do you want
 to say that there are also ''other'' problems with IE, or should I read it
 as "''because'' IE does not know about app/xhtml+xml", so this is only
 this one issue? I assume the latter.

 And I agree, this is a serious issue and it needs to be fixed in TG 1.0.8.
 Most people are probably using TG's default html format, that's why nobody
 cried earlier.

 I made this change in r5322 without rethinking the consequences, relying
 on the W3C recommendation only and believing IE has improved in the last
 versions. But you're right about the problems with application/xhtml+xml:
 IE still doesn't understand it, and Mozilla automatically goes into "full
 standards mode" without looking at the doctype.

 I see several options how to fix this:

  1. Simply revert the change, always send 'text/html' for both html and
 xhtml.
  2. Make the content type for xhtml configurable, with the old 'text/html'
 as default.
  3. Make the whole mapping from template formats to content types (as used
 in view.base.render) configurable, with 'text/html' as default for xhtml.
  4. Use content negotiation (based on the Accept header, not the User-
 Agent-Header!). But I fear this will lead into even more problems.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/1998#comment:1>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to