W3C home > Mailing lists > Public > www-validator@w3.org > November 2004

Re: [VE][107] Error Message Feedback

From: Lachlan Hunt <lachlan.hunt@iinet.net.au>
Date: Wed, 03 Nov 2004 02:18:00 +1100
Message-ID: <4187A528.6030601@iinet.net.au>
To: Antonello Bianchi <antonello@mathesis.it>
CC: www-validator@w3.org

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://GetFirefox.com/    Rediscover the Web
http://SpreadFirefox.com/   Igniting the Web
Received on Tuesday, 2 November 2004 15:18:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:43 UTC