Sent by Sebastien_LE_CALLONNEC on 29 September 2003 10:10
Big John wrote:
"I can't add any other browser checks, but I can say that you need to get
rid of the xml prolog on the first line because that isn't needed for a
standard non-xml page"
I've been wondering about that for quite a while, now. I hope this won't
make me look to much like a newbie by asking that, but here's what I've read
in the W3C recommandation:
"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."
So far, that's all right with me.
"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."
Using iso-8859-1, the xml bit should be required, shouldn't it? Or does the
"higher-level protocol" (my wild guess is HTTP(?)) offer an encoding indeed?
To sum up a wee bit, what does "higher-level protocol" mean?
Sebastien.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/