W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2005

[Bug 1056] New: Ambiguous error message when an HTML element lacks a required child

From: <bugzilla@wiggum.w3.org>
Date: Wed, 26 Jan 2005 03:57:28 +0000
To: www-validator-cvs@w3.org
Cc:
Message-Id: <E1CteJ6-00059w-Cs@wiggum.w3.org>

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

           Summary: Ambiguous error message when an HTML element lacks a
                    required child
           Product: Validator
           Version: 0.7.0
          Platform: Macintosh
               URL: http://www0.arch.cuhk.edu.hk/~hall/test/no-title.htm
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Parser
        AssignedTo: link@pobox.com
        ReportedBy: twhall@netvigator.com
         QAContact: www-validator-cvs@w3.org


If the document head lacks the required title element, the validator issues a
rather ambiguous error message:

   end tag for "HEAD" which is not finished

It mentions the possibility that a required child element was not included.  It
would be good if it could identify the missing child.  Something like:

   "HEAD" lacks a required child element: "TITLE"
Received on Wednesday, 26 January 2005 03:57:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:19 UTC