- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 25 Jul 2005 22:37:20 +0000
- To: www-validator-cvs@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1815
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
error:
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:
http://validator.w3.org:8001/check?uri=www.beyondthepixel.net&charset=%28detect+automatically%29&doctype=Inline&ss=1&verbose=1
The production validator seems to be doing things correctly and using the right
fallback.
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:
http://validator.w3.org:8001/check?uri=http%3A%2F%2Fwww.beyondthepixel.net%2F&charset=%28detect+automatically%29&doctype=HTML+4.01+Transitional&ss=1&verbose=1
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