<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2512</bug_id>
          
          <creation_ts>2005-11-11 22:32:28 +0000</creation_ts>
          <short_desc>validates in the text box, deosn&apos;t validate when I try to validate it from my site</short_desc>
          <delta_ts>2007-02-22 05:55:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://raidercom.no-ip.org/test.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeffrey Jewitt">raidercom</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7164</commentid>
    <comment_count>0</comment_count>
    <who name="Jeffrey Jewitt">raidercom</who>
    <bug_when>2005-11-11 22:32:29 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14051</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-02-22 05:55:01 +0000</bug_when>
    <thetext>Hi Jeffrey.

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

One specificity of the &quot;direct input&quot; 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.

&gt;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.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>