[Bug 5489] Incorrect Mimetype warning

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5489

           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
application/html+xml.

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