David Dorward wrote:
Gunlaug Sørtun wrote:
2: according to specs (and browsers) a character encoding stated in
an xml declaration is good, and further stating unnecessary. No warning should be given in such a case.

An <?xml ?> declaration (or anything else before the Doctype) will trigger Quirks mode in IE6 [...]

IE6 works best in quirks mode...
<http://www.gunlaug.no/contents/wd_additions_16.html>
...IMO, so that's a very welcome side-effect.

so should be avoided.

FWIW: anything other than an xml declaration before doctype will make
_all_ IE/win versions stay in quirks mode.

The prolog is optional if the defaults (XML 1.0 and UTF-8 or UTF-16) are used.

Which means one can deliberately choose to put the xml declaration in,
and its 'encoding' is valid and honored. That's my point.

It is forbidden if HTML 4.01 is used.

Indeed.

regards
        Georg
--
http://www.gunlaug.no


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to