W3C home > Mailing lists > Public > www-validator@w3.org > August 2007

Validator misbehavior on HTML sent as XHTML

From: Nikita The Spider The Spider <nikitathespider@gmail.com>
Date: Thu, 9 Aug 2007 09:55:00 -0400
Message-ID: <35e76ac10708090655q9001498ye0db22bbf607e790@mail.gmail.com>
To: "www-validator Community" <www-validator@w3.org>

Hi all,
I've been running a few edge cases through the validator and I've come
across one that the validator doesn't like. The document in question
is a short, valid HTML 4.01 Strict document that gives the validator
fits when I send it with a media type of application/xhtml+xml.
Specifically, the validator reports "Validation Output: 6 Errors" and
then proceeds to report hundreds of errors on lines that don't exist
in the document.

The document in question is here:

And here's the validation URL for it:

I realize that sending HTML as application/xhtml+xml is a nonsensical
thing to do and the validator is right to tell me that ("Contradictory
Parse Modes Detected!") but the actual output is clearly the result of
parsing something other than my document.

Whole-site HTML validation, link checking and more
Received on Thursday, 9 August 2007 13:55:07 UTC

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