H. Peter Anvin wrote:
Presumably the motivation is so you know ahead of time that you can
invoke an XML parser rather than an SGML/HTML parser.
Note: http://www.w3.org/TR/xhtml-media-types/ states that text/html is
considered acceptable for HTML-compatible XHTML 1.0 but no other version
of XHTML 1.0. One of the main issues with making XHTML 1.0-compatible
is to make sure there is a space before the final / in the last
singleton: <foo /> rather than <foo/>
This might also be useful reading:
http://www.mozilla.org/docs/web-developer/faq.html#xhtmldiff
-hpa