[wp-trac] Re: [WordPress Trac] #4466: Serve application/xhtml+xml
if browser compliant
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 14 14:15:38 GMT 2007
#4466: Serve application/xhtml+xml if browser compliant
------------------------------------------+---------------------------------
Reporter: werwin | Owner: anonymous
Type: enhancement | Status: new
Priority: low | Milestone: 2.4 (future)
Component: Optimization | Version: 2.2.1
Severity: minor | Resolution:
Keywords: xhtml, application/xhtml+xml |
------------------------------------------+---------------------------------
Changes (by Otto42):
* milestone: 2.3 (trunk) => 2.4 (future)
Comment:
As we discussed on wp-hackers, changing to application/xhtml+xml affects
quite a bit. It's quite likely that most Wordpress blogs and/or themes
and/or plugins are wholly incompatible with a mime type of
application/xhtml+xml.
Serving as application/xhtml+xml breaks virtually all javascripts, for
example.
While the idea is good, and code should be added to prepare for this sort
of thing, it is premature to actually be serving up pages as
application/xhtml+xml. All the kinks in the various javascript codes has
to be worked out, for one thing. And even then, backwards compatibility
needs to be addressed, since you're not going to be able to update every
plugin/theme.
I say to only add code to *allow* people to change that sort of thing, and
start making the codebase compatible with it, but by the time you actually
get there, IE will finally support application/xhtml+xml as well. ;)
--
Ticket URL: <http://trac.wordpress.org/ticket/4466#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list