Ben Godfrey

XML prolog puts IE 6 into quirks mode

For a while I’ve been aware that there is a problem with including the XML prolog (<?xml version="1.0"?>) in XHTML documents, but nobody has explained what it was and I didn’t bother to go looking. However, it puts IE 6 into “render like IE 5” mode which seems pretty dumb, however, it answers a few questions.

I will be removing the prolog from the pages on this site sometime soon.

Comments

mat's avatar

mat

The XML prolog, as I understand it, is not required anyway - someone (Zeldman, Bluerobot - one of that ilk) wrote about ditching it as fast as your little delete key can carry you. Probably for the same reason that you did.
Cancel

Comments are closed for this post.

Add a new comment

Comments are closed for this post.