[wp-hackers] WP issues

Jeremy Visser jeremy.visser at gmail.com
Thu Jun 7 07:12:02 GMT 2007


Matt wrote:
> "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

However, in the Real World, IE6 triggers quirks mode if it finds an XML
declaration at the top of a document. They removed this "feature" in
IE7, but IE6 is still dominant, and we can't ignore that.



More information about the wp-hackers mailing list