This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2512 - validates in the text box, deosn't validate when I try to validate it from my site
Summary: validates in the text box, deosn't validate when I try to validate it from my...
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
URL: http://raidercom.no-ip.org/test.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-11 22:32 UTC by Jeffrey Jewitt
Modified: 2007-02-22 05:55 UTC (History)
0 users

See Also:


Attachments

Description Jeffrey Jewitt 2005-11-11 22:32:29 UTC
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, 1) the
validator says tehre is no doctype, and 2) the validator cannot find a character
encoding
Comment 1 Olivier Thereaux 2007-02-22 05:55:01 UTC
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.