Re: [VE][107] Error Message Feedback

Antonello Bianchi wrote:
> This is an output related to an XHTML 1.1 Document.
> ... I'm trying to validate: http://develop.nementis.com/default.aspx

If you're going to use XHTML 1.1, it *should not* be served with the 
MIME Type "text/html".  It *should* be served as "application/xhtml+xml" 
or *may* be served as "application/xml" or "text/xml".  If you are going 
to use XHTML, then you should use XHTML 1.0 Strict, which (although it 
should also be served as "application/xhtml+xml") *may* be served as 
"text/html".  However, that is not recommended, I recommend you use HTML 
4.01 Strict provided that you follow the Appendix C guidelines [1]. 
Unless you're going to serve XHTML documents with the  *correct* MIME 
type, then there are no benefits in doing so.

You should also note, that if your document were served with the correct 
MIME type, browsers would give up immediately upon encountering the 
error, and display an error message.  In Mozilla and Firefox, this is 
known as the Yellow Screen of Death because no document content is 
shown, just an XML Well Formedness error message pointing out the cause. 
  The error messages given by the browser may also help you to 
understand the cause of these kind of errors better, especially in cases 
where the validator's message may be too cryptic for you.

[1] http://www.w3.org/TR/xhtml1/#guidelines
-- 
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/    Rediscover the Web
http://SpreadFirefox.com/   Igniting the Web

Received on Tuesday, 2 November 2004 15:18:49 UTC