[Bug 4586] ERROR "no Doctype found" when checking by Referer

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

           Summary: ERROR "no Doctype found" when checking by Referer
           Product: Validator
           Version: 0.8.0b1
          Platform: PC
               URL: http://www.athrasoft.com
        OS/Version: Windows 2000
            Status: NEW
          Severity: critical
          Priority: P2
         Component: check
        AssignedTo: ot@w3.org
        ReportedBy: contact@athrasoft.com
         QAContact: www-validator-cvs@w3.org


Since older versions of the Markup Validator, I've been facing a big problem.
Again, in this beta 0.8, the problem remains.

The validator works fine both via "File Upload" and "Direct Input", but FAILS
when fired by referer ("uri=?referer"). It also fails the complete URL is
passed as parameter.

The complete error message:
-------------------------------------------------
 This page is not Valid (no Doctype found)!
 Error Line 1 column 0: end of document in prolog.
-------------------------------------------------

My XHTML 1.0 Transitional page is hosted on a site that redirects to a IP-based
one. Wheter I enter the URL of the first one (domain-based) or the IP-based
(using my current IP), the validation fails.

However, the validator at http://www.validome.org is able to parse the doc via
URL Parameter, without any problem. See:

BOTH FAIL:
  http://validator.w3.org/check?uri=http://athrasoft.com/en/Home.htm
  http://validator-test.w3.org/check?uri=http://athrasoft.com/en/Home.htm
BOTH WORK FINE:
  http://www.validome.org/validate/?uri=http://athrasoft.com/en/Home.htm
  http://www.validome.org/get/http://athrasoft.com/en/Home.htm

The redirection is correctly managed by W3C's validator, but the result is
always "No DocType Found". Even if I enter the IP-based URL as the target, I
got the error.

My DocType is correct, as well as the whole page.
Any clue?

Thanks in advance.
Pauo França
  http://www.athrasoft.com

Received on Saturday, 26 May 2007 18:08:08 UTC