<?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>6151</bug_id>
          
          <creation_ts>2008-10-10 08:30:50 +0000</creation_ts>
          <short_desc>Line 1, Column 0: end of document in prolog.</short_desc>
          <delta_ts>2013-06-17 15:34:17 +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>FIXED</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="Eric Andrieux">eric.andrieux</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>ampierromi</cc>
    
    <cc>corvinm</cc>
    
    <cc>jean-gui</cc>
    
    <cc>kerry.white</cc>
    
    <cc>matthew.flaschen</cc>
    
    <cc>michael.spellacy</cc>
    
    <cc>nelson</cc>
    
    <cc>ot</cc>
          
          <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>22142</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Andrieux">eric.andrieux</who>
    <bug_when>2008-10-10 08:30:50 +0000</bug_when>
    <thetext>Seems that the validator doesn&apos;t support local files anymore

I sent this file:

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;

and got
Error found while checking this document as HTML 4.01 Transitional!
Result: 	1 Error, 2 warning(s)
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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23493</commentid>
    <comment_count>1</comment_count>
    <who name="Matthew Flaschen">matthew.flaschen</who>
    <bug_when>2009-02-06 06:02:14 +0000</bug_when>
    <thetext>This bug is valid.  When uploading (maybe other cases too), the validator intermittently claims &quot;end of document in prolog&quot; when the document is not blank.  It will even occur with a completely valid document; after a few retries, the document will validate perfectly.

I don&apos;t know what the cause is but it&apos;s difficult to reproduce because it doesn&apos;t occur every time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23500</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2009-02-06 15:04:50 +0000</bug_when>
    <thetext>The problem we have is that a bug in the validator (currently fixed in dev but yet to be pushed to validator.w3.org) fills up the hard drive and breaks file upload capability. 

I cleaned up the drive... again. Looking forward to the next release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23502</commentid>
    <comment_count>3</comment_count>
    <who name="Matthew Flaschen">matthew.flaschen</who>
    <bug_when>2009-02-06 15:19:17 +0000</bug_when>
    <thetext>I figured it was something like that.  I just don&apos;t know why this is marked WORKSFORME.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23504</commentid>
    <comment_count>4</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2009-02-06 15:21:05 +0000</bug_when>
    <thetext>*** Bug 6520 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23506</commentid>
    <comment_count>5</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2009-02-06 15:23:04 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; I figured it was something like that.  I just don&apos;t know why this is marked
&gt; WORKSFORME.

Not sure either. The OP the status to WORKSFORME (as in, can&apos;t reproduce) back in October.

I&apos;m changing to Resolved FIXED since the fix is in CVS and the release is upcoming (our usual practice).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23511</commentid>
    <comment_count>6</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2009-02-06 17:03:19 +0000</bug_when>
    <thetext>For reference, the patch applied is at:
http://lists.w3.org/Archives/Public/www-validator-cvs/2009Feb/0025.html
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23565</commentid>
    <comment_count>7</comment_count>
    <who name="Matthew Flaschen">matthew.flaschen</who>
    <bug_when>2009-02-08 01:11:24 +0000</bug_when>
    <thetext>Glad to know it&apos;s fixed, but shouldn&apos;t you be using logrotate (http://linuxcommand.org/man_pages/logrotate8.html) or something to ensure this doesn&apos;t happen again with a different kind of error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23566</commentid>
    <comment_count>8</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2009-02-08 02:37:20 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; Glad to know it&apos;s fixed, but shouldn&apos;t you be using logrotate
&gt; (http://linuxcommand.org/man_pages/logrotate8.html) or something to ensure this
&gt; doesn&apos;t happen again with a different kind of error.

We do :) but keep in mind that we&apos;re talking about the validator here, with millions of hits daily, so any problem will fill up a log partition very, very fast (in a matter of days, actually) regardless of logrotate settings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35322</commentid>
    <comment_count>9</comment_count>
    <who name="David">ampierromi</who>
    <bug_when>2010-04-29 22:33:21 +0000</bug_when>
    <thetext>I&apos;m having this problem as well, i&apos;ve tried some random domains (with content of course) and i keep getting : 
Line 1, Column 1: end of document in prolog
I tried to revalidate a couple of times and it did worked but only once.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35819</commentid>
    <comment_count>10</comment_count>
    <who name="Michael Spellacy">michael.spellacy</who>
    <bug_when>2010-05-25 14:32:59 +0000</bug_when>
    <thetext>The validator does not appear to be working with local files (again). Just wanted to make you aware of it and hope that someone is on the case!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43485</commentid>
    <comment_count>11</comment_count>
    <who name="kerry white">kerry.white</who>
    <bug_when>2010-12-20 23:41:22 +0000</bug_when>
    <thetext>This is happening at the moment intermittently with files being uploaded. I am on an OU course which requires us to submit files which validate, and lots of people on the course are reporting this error on the forums. Submission of xhtml doctypes return the error message as below:

Error found while checking this document as HTML 4.01 Transitional!
Result:     1 Error, 2 warning(s)
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.elow:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43490</commentid>
    <comment_count>12</comment_count>
    <who name="Jean-Guilhem Rouel">jean-gui</who>
    <bug_when>2010-12-21 10:12:45 +0000</bug_when>
    <thetext>One server had his disks full. After cleaning it seems fine again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>