Does validator even send application/xhtml+xml in Accept header?! It always complains that my page with such code: $xhtml = false; if(preg_match('/application\/xhtml\+xml(?![+a-z])(;q=(0\.\d{1,3}|[01]))?/i', $_SERVER['HTTP_ACCEPT'], $matches)) { $xhtmlQ = isset($matches[2])?$matches[2]:1; if($xhtmlQ!=0) $xhtml = true; } header('Content-Type: '.($xhtml?'application/xhtml+xml':'text/html').'; charset=utf-8'); has differences between Content-Type and DTD. -- Nikodem JID: nikn@jabber.orgReceived on Wednesday, 26 September 2007 13:17:05 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 26 September 2007 13:17:12 GMT