Ticket #1998 (closed defect: fixed)
outputformat="xhtml" is incompatible with some browsers.
|Reported by:||ondrejj||Owned by:||chrisz|
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').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-220.127.116.11.