#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 | Keywords:
------------------------+---------------------------------------------------
Updating to TurboGears-1.0.7 breaks compatibility with IE browsers. Also
IE7 is does not know anything about application/xhtml+xml types. When
trying to open this page, it only gives me ability to save this page.
I know, that w3c standards suggest to set this content type for XHTML
pages, but it is only a "should" and not "must".
Also there is a small problem, that in Firefox 3 these pages works
differently. For example trying this:
{{{
http_response.innerHTML = http_request.responseText;
}}}
if fails, if responseText is not a valid xhtml or it can't be inserted
into specified tag (for example if it contains <body> or similar tags. If
someone need help, there is a proper fix:
{{{
http_response.innerHTML =
http_request.responseXML.getElementsByTagName('body')[0].innerHTML;
}}}
I think it is not a good idea to break compatibility in bugfix release.
May be breaking compatibility in TG2 can be possible, but bugfix release
which changes application behaviour is a very bad idea.
At least add an config option to disable this "feature".
Before this version it worked on tg-1.0.4.4.
--
Ticket URL: <http://trac.turbogears.org/ticket/1998>
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
-~----------~----~----~----~------~----~------~--~---