<?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>5663</bug_id>
          
          <creation_ts>2008-04-25 11:55:34 +0000</creation_ts>
          <short_desc>The File XHTML validator is broken</short_desc>
          <delta_ts>2008-04-25 16:34:43 +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 XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Powell">david</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>19944</commentid>
    <comment_count>0</comment_count>
    <who name="David Powell">david</who>
    <bug_when>2008-04-25 11:55:34 +0000</bug_when>
    <thetext>The File XHTML validator appears to be broken, but the web page validator works fine. If you upload an XHTML file to the validator service and check it then validation always fails (even on files it validated yesterday). The following messages are always output and manually setting document type and charcter encoding has no effect:

Potential Issues:

No Character Encoding Found! Falling back to UTF-8.
Unable to Determine Parse Mode!

Validation Output:  1 Error

Line 1, Column 0: end of document in prolog.


An example document that fails to validate:

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
    &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
  &lt;head&gt;
    &lt;title&gt;simple document&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p&gt;
      a simple paragraph
    &lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19945</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-04-25 16:34:43 +0000</bug_when>
    <thetext>Hello,

The server&apos;s disk was full. This is now fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>