<?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>19821</bug_id>
          
          <creation_ts>2012-11-01 18:02:37 +0000</creation_ts>
          <short_desc>Using the Validate by URI fails to find doctype but Validate by Direct Input does</short_desc>
          <delta_ts>2012-11-06 18:51:15 +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>Parser</component>
          <version>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></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="skube">sean</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</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>77692</commentid>
    <comment_count>0</comment_count>
    <who name="skube">sean</who>
    <bug_when>2012-11-01 18:02:37 +0000</bug_when>
    <thetext>When I try to validate a page, say http://www.gm.ca/gm/english/corporate/about/ourcompany/overview
through the URI tabbed interface, I&apos;ll see an error relating to not finding the doctype. However, if I copy the source directly and validate by direct input, I&apos;ll see different errors completely.

Should these not be the same exactly?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77967</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2012-11-06 18:51:15 +0000</bug_when>
    <thetext>If given the exact same input, then yes. But in practice they&apos;re never exactly the same, there are server generated headers and possible content negotiation in the equation when validating by URI etc.

In this case, I bet the document served to the validator by the www.gm.ca server is pretty far from the one you&apos;re feeding it with direct input; use the &quot;show source&quot; option to see what the validator received.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>