W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2005

[Bug 1815] New: DOCTYPE fallback possibly invalid, and wrong errors coming up on override

From: <bugzilla@wiggum.w3.org>
Date: Mon, 25 Jul 2005 22:37:20 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1DxBZY-0001bn-9s@wiggum.w3.org>


           Summary: DOCTYPE fallback possibly invalid, and wrong errors
                    coming up on override
           Product: Validator
           Version: 0.7.0
          Platform: All
               URL: http://www.beyondthepixel.net/
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: check
        AssignedTo: link@pobox.com
        ReportedBy: cyberbotx@cyberbotx.com
         QAContact: www-validator-cvs@w3.org

The URL I gave is my friend's website, and I was putting it through the
validator to see what comes up.  I have tried the validator in 2 ways, without
giving an override on the DOCTYPE, and giving one to HTML 4.01 Transitional. 
The site does not have a DOCTYPE declaration, so it's technically not valid anyways.

With the beta, if I do not override the DOCTYPE not being there, it gives a
message saying it'll validate using HTML 4.01 Transitional as a fallback, but
some of the errors that come up are valid for HTML 4.01 Transitional.  The first

Line 1, column 0: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>"

seems to make me think it is not using HTML 4.01 Transitional's DTD, but that I
can't say for sure since it does not show what DOCTYPE declaration it's trying
to use in the source.  I used the following URL:


The production validator seems to be doing things correctly and using the right

Now, if I explicitly override the DOCTYPE to HTML 4.01 Transitonal, the
production validator still gives the same errors it did before, which seems like
correct behavior.  But the beta does something strange.  Using this URL:


The first error that comes up:

Line 96, column 18: there is no attribute "BACKGROUND" .

That is a valid problem, BUT it's showing the wrong line and column.  The
background attribute is actually on the previous line, line 95, at column 5.

One other things that is relatively minor:  I noticed the beta does not show
number of errors like the production one does.  Is this because of the fact that
the beta shows not only errors, but warnings and notices as well?
Received on Monday, 25 July 2005 22:37:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:11 UTC