Otto wrote: > True, serving as application/xhtml+xml breaks a whole lot of > javascript code. Things like document.write stop working, for one > thing. Which in turn breaks jQuery when you try to write elements dynamically like this: $("<p>Hello, world!</p>").after("p#some-element");