Older Twocentsworth.com Archives

Sillyness

application/xhtml+xml = bad user experience

There has been a resurgence in discussion lately about valid XHTML webpages. This resurgence is undoubtably due to Evan Goer’s XHTML 100 in which he tested 119 supposedly XHTML websites looking for the valid ones (or “one” as the case may be).

One of the requirements of Evan’s test was that the page was served with a Content-Type header of application/xhtml+xml if the requesting user agent sent an applicable HTTP-Accept header.

My problem with this requirement is not one that I’ve seen mentioned elsewhere and it comes from my “user” perspective, not my “coder of standard-compliant pages” perspective.

If I browse a site that has sent the Content-Type header of application/xhtml+xml in my current favorite browser of Mozilla Firebird (Phoenix) 0.5 with the Optimoz Mouse Gestures plug-in, I can no longer “throw” links into new tabs. Instead I get a new blank tab that opens in front of my current browsing session. The first few times this happened, I thought it was something I did wrong, but now I’m almost sure it has something to do with these damn Content-Type headers.

I was really thinking about getting my site to validate again, and add some PHP code to spit out the right headers, but this has definitely changed my mind. I’m too lazy right now to check and see if it is marked as a bug in BugZilla. Hopefully someone else noticed it. I would guess that this is considered a bug in the gestures plugin, but I’m not sure. Oh well, when you live on the cutting edge of technology there can be a little pain involved.

Originally published on Sunday May 11, 2003 at 10:48 pm

[3] Comments

You should file a bug. Opening new tabs works just fine without the Mouse Gestures plugin, so I would guess that that's where your problem lies.

That won't be the first thing that broke when I went over to application/xhtml+xml:

http://golem.ph.utexas.edu/~distler/blog/archives/000141.html

The good thing about the Mozilla Group, though is that bugs do get fixed ... if you bother to file them.

Jacques Distler said this 11 years, 4 months ago §

Thanks. I looked it up and it seems that Simon Willison beat me to it.

http://mozdev.org/bugs/show_bug.cgi?id=3718

aaron said this 11 years, 4 months ago §

And, Mike Kozlowski before him...

http://mozdev.org/bugs/show_bug.cgi?id=3311

The Gestures team has fixed the problem, so it should be included in the next point release.

aaron said this 11 years, 4 months ago §

Comments were disabled for this post. This happens for a variety of reasons and most likely it's not your fault. Unless you're a spammer. Then it might be your fault.