[Bug 2512] validates in the text box, deosn't validate when I try to validate it from my site

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


ot@w3.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from ot@w3.org  2007-02-22 05:55 -------
Hi Jeffrey.

(In reply to comment #0)
> In the text box area, where you can validate parts of code, the code validates,
> but when I copy the same code into a html file, and try to validate it, 
> 2) the validator cannot find a character encoding

One specificity of the "direct input" is that you copy and paste characters
into a form, so the validator knows what encoding that content is. When the
document is online, however, if your server does not declare an encoding for
that resource, and the document does not either, then the validator will not
know what the encoding is.

>1) the validator says tehre is no doctype, and

I am not aware of any discrepancy in document type detection between direct
input and by URI methods. Please provide a working test case (the one listed in
the URL is not working) and re-open this bug if you can find any.

Received on Thursday, 22 February 2007 05:55:08 UTC