[Bug 5663] The File XHTML validator is broken

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5663

           Summary: The File XHTML validator is broken
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P1
         Component: Parser
        AssignedTo: dave.null@w3.org
        ReportedBy: david@imagitech.co.uk
         QAContact: www-validator-cvs@w3.org


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:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>simple document</title>
  </head>
  <body>
    <p>
      a simple paragraph
    </p>
  </body>
</html>

Received on Friday, 25 April 2008 11:56:05 UTC