W3C home > Mailing lists > Public > www-validator@w3.org > March 2005

header accept: application/xhtml+xml

From: Damien BEZBORODOW <0628826@tv.tafe.sa.edu.au>
Date: Wed, 09 Mar 2005 11:43:50 +1030
Message-Id: <s22ee243.062@email.tv.tafe.sa.edu.au>
To: <www-validator@w3.org>

Should not the validator send the 'Accept: application/xhtml+xml' upon a
remote file request with the intent of validation? I know of several web
developers sending the application/xhtml+xml MIME type to browsers that
send that accept field but text/html to those that lack it. Perhaps
text/plain and text/html could also be included in the accept field
somehow. Perhaps even, if you choose to override the DOCTYPE to HTML,
then the application/xhtml+xml type would not be sent and only
This would add much more functionality to the validation of XHTML. For
instance, some times you can do more than just send a different MIME
type, but instead assume that XHTML is not supported and send HTML 4
content instead. If you want to validate both modes, the user should
have some degree of control over what is sent in the Accept header.
Damien Bezborodow
Received on Wednesday, 9 March 2005 03:42:57 UTC

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