<?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>7399</bug_id>
          
          <creation_ts>2009-08-22 03:41:43 +0000</creation_ts>
          <short_desc>directly validate 404 pages</short_desc>
          <delta_ts>2009-08-31 21:40:00 +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>0.8.5</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.spicy-wolf.org/~404</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>0.8.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="rimy">Siramizu</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>26596</commentid>
    <comment_count>0</comment_count>
    <who name="rimy">Siramizu</who>
    <bug_when>2009-08-22 03:41:43 +0000</bug_when>
    <thetext>hi all,

i had wrote a 404 html page for let visitor 
know the page not found, it&apos;s locatated at
http://www.spicy-wolf.org/~404, and actually 
it&apos;s a php script, i just use 
&gt; header(&apos;HTTP/1.1 404 Not Found&apos;);
to let browser and spider knows this a 404 page,
but when i tried to validate that page 
the validator said:

&gt;Sorry! This document can not be checked.
&gt;   1. Error
&gt;      I got the following unexpected response when
&gt;      trying to retrieve &lt;http://www.spicy-wolf.org/~404&gt;:
&gt;          404 Not Found

so i have to let the script send a 200 OK header
i know i also can use direct input or upload, 
and it may not a bug, but i still want to suggest
let&apos;s directly validate 404 pages if possible, 
it&apos;s a real html page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26704</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2009-08-26 20:07:43 +0000</bug_when>
    <thetext>This feature already exists, click &quot;More options&quot;, then tick the &quot;Validate error pages&quot; checkbox.  Or for direct validation URLs, append &quot;;No200=1&quot;, for example http://validator.w3.org/check?uri=http://www.spicy-wolf.org/~404;No200=1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26706</commentid>
    <comment_count>2</comment_count>
    <who name="rimy">Siramizu</who>
    <bug_when>2009-08-27 01:35:14 +0000</bug_when>
    <thetext>oh, thanks, that&apos;s my mistake, i havn&apos;t noticed that option
could you give a tip when display can&apos;t validate error page
i just follow the web developer (a firefox extension)
&gt; Tools -&gt; Validate HTML
now i edit the tools link to enable that option, it works
thanks again!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26763</commentid>
    <comment_count>3</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2009-08-31 21:37:24 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; could you give a tip when display can&apos;t validate error page

Good idea, implemented for the next validator release; this is how it looks like in the current development version:
http://qa-dev.w3.org/wmvs/HEAD/check?uri=http%3A%2F%2Fwww.spicy-wolf.org%2F~404;No200=1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26764</commentid>
    <comment_count>4</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2009-08-31 21:40:00 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; this is how it looks like in the current development version:

Oops, wrong link, it should have been:
http://qa-dev.w3.org/wmvs/HEAD/check?uri=http%3A%2F%2Fwww.spicy-wolf.org%2F~404

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>