W3C home > Mailing lists > Public > www-validator@w3.org > April 2003

please add HTTP_ACCEPT = application/xhtml+xml,text/html

From: java java <cop3252@yahoo.com>
Date: Wed, 23 Apr 2003 04:57:05 -0700 (PDT)
Message-ID: <20030423115705.83782.qmail@web20712.mail.yahoo.com>
To: www-validator@w3.org

when validating please include a 
HTTP_ACCEPT = application/xhtml+xml, text/html
to your header.
I have php code in my web-page that serves up the
xhtml as application/xhtml+xml with type of XHTML1.1
but only if the UA states that it can accept
application/xhtml+xml.  If the UA can accept
application/xhtml+xml then the page is XHTML1.1 else
the page is XHTML1.0 Strict.  When I try and validate
my XHTML1.1 pages, the validator fails to say that it
can accept application/xhtml+xml and thus instead of
validating the XHTML1.1 page it validates a XHTML1.0
Strict page.  I would like the validator to state in
the header under HTTP_ACCEPT that it can handle
Thank you for your time.

Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
Received on Wednesday, 23 April 2003 08:00:30 UTC

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