W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2008

[Bug 5489] Incorrect Mimetype warning

From: <bugzilla@wiggum.w3.org>
Date: Tue, 19 Feb 2008 00:09:53 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JRG3V-0001bf-7T@wiggum.w3.org>


           Summary: Incorrect Mimetype warning
           Product: Validator
           Version: 0.8.2
          Platform: PC
        OS/Version: Windows 3.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: check
        AssignedTo: dave.null@w3.org
        ReportedBy: leon@leonscape.co.uk
         QAContact: www-validator-cvs@w3.org

My page at http://www.leonscape.co.uk/ is xhtml 1.1, but I'm getting a warning
about a mimetype conflict. Its reporting text/html when it should be

The only problem is my page is setting this dynamically in PHP and is checking
the user agent acceptance header (HTTP_ACCEPT) to see if the user agent will
accept a application/html+xml page.

This validator does not accept that mimetype so my page won't send it. If I
ignore the check and send it anyway it validates, but this breaks some browsers
(you can guess which ).

So application/html+xml needs adding to the accepted types.
Received on Tuesday, 19 February 2008 00:10:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:31 UTC