[TxMt] Misguided use of content-type in XHTML/1.1 template
Brett Terpstra
brett at circlesixdesign.com
Mon Mar 5 00:21:24 UTC 2007
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
That's what my recently updated XHTML/1.1 reads...
Brett
On Mar 4, 2007, at 6:00 PM, porneL wrote:
>
> I've just noticed that template for XHTML/1.1 has been changed to
> include application/xhtml+xml content type in <meta> element.
>
> This is completly misguided as <meta> is there only for backwards-
> compatibility non-XHTML user-agents -- that is only those which *do
> not* support application/xhtml+xml.
>
> From W3C XHTML FAQ:
> "Note that a meta http-equiv statement will not be recognized by
> XML processors, and authors SHOULD NOT include such a statement in
> an XHTML document served as 'application/xml' (and 'application/
> xhtml+xml' as well for that matter)."
>
> Please change it back to text/html or remove <meta> element completly.
>
> --
> regards, porneL
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
More information about the textmate
mailing list