[Bug 6111] New: Unclear error messages when the validator gets an empty document

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

           Summary: Unclear error messages when the validator gets an empty
                    document
           Product: Validator
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Templates
        AssignedTo: dave.null@w3.org
        ReportedBy: elimerl@gmail.com
         QAContact: www-validator-cvs@w3.org


Created an attachment (id=599)
 --> (http://www.w3.org/Bugs/Public/attachment.cgi?id=599)
Adds a comment on "document end in prolog" errors.

When the validator gets an empty document, the error message will be:
> Line 1, Column 0: end of document in prolog.
which is a little obscure.

Since I assume that a non-empty document can actually end in the prolog, I
suggest adding the following hint:
> This error is often caused by an empty document.
without changing the error message itself.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 23 September 2008 21:27:22 UTC