[wp-hackers] WP issues

Matt speedboxer at gmail.com
Thu Jun 7 01:56:09 GMT 2007


On 6/6/07, Marcos Sader | marcosmedia <m at marcosmedia.com> wrote:
>
> That will make it a an XML document not and HTML one, and you will
> need to send this as application/xml which will leave every IE6 user
> aside... so yes, the doctype (strict if you want it to work properly)
> will be the first thing the browser should see on the (html) document.
>

http://www.w3.org/TR/xhtml1/#strict

Right near that, you'll see:

"An XML declaration is not required in all XML documents; however XHTML
document authors are strongly encouraged to use XML declarations in all
their documents. Such a declaration is required when the character encoding
of the document is other than the default UTF-8 or UTF-16 and no encoding
was determined by a higher-level protocol."

Strongly Encouraged, is the key words in there. :P

-- 
Matt (speedboxer at gmail.com)
http://mattsblog.ca/ | http://livemp.net/


More information about the wp-hackers mailing list