Philippe Verdy, Thu, 29 Nov 2012 13:26:28 +0100: > You're wrong. XHTML1 is integrated in the W3C validator and > recognized automatically.
Indeed, yes. What I meant by "doesn't integrate XHTML1' was that Unicorn doesn't 100% adhere to the two sections of XHTML1 that I quoted.[1][2] > The document you cite in the XHTML1 specs has just not been updated. The validator must of course implement what XHTML1 says. > Anyway this http://www.xn--elqus623b.net/XKCD/1137.html site is > actually using XHTML1.1 (in its strict schema, not a transitional > schema) A relevant point, of course. But XHTML11 says the same thing: [3] 'XHTML 1.1 documents SHOULD be labeled with the Internet Media Type "application/xhtml+xml" as defined in [RFC3236]. For further information on using media types with XHTML, see the informative note [XHTMLMIME].' The XHTMLMIME note says: [4] 'The 'text/html' media type [RFC2854] is primarily for HTML, not for XHTML. In general, this media type is NOT suitable for XHTML except when the XHTML is conforms to the guidelines in Appendix A.' [5] 'DO set the encoding via a "meta http-equiv" statement in the document (e.g., <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />)' [1] http://www.w3.org/TR/xhtml1/#media [2] http://www.w3.org/TR/xhtml1/#C_9 [3] http://www.w3.org/TR/xhtml11/xhtml11.html#strict [4] http://www.w3.org/TR/xhtml-media-types/#text-html [5] http://www.w3.org/TR/xhtml-media-types/#C_9 -- leif halvard silli