#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 ondrejj):

 Replying to [comment:1 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.

 Sorry, wrong formulation.
 I know about:
   IE6, IE7: Don't work.[[BR]]
   FF3, Opera8: Works.

 > 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.

 Thank you.

 > 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.

 Fix4 looks better for me, but all fixes can be good. May be
 autonegitiation with configurable overwrite can be good too.
 As with this content type Firefox is working different way, I know now,
 that for FF it's a proper way and application/xhtml+xml is a feature.

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