This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1056 - Ambiguous error message when an HTML element lacks a required child
Summary: Ambiguous error message when an HTML element lacks a required child
Status: NEW
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.7.0
Hardware: All All
: P2 enhancement
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
URL: http://www0.arch.cuhk.edu.hk/~hall/te...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 03:57 UTC by Theodore W. Hall
Modified: 2005-02-03 23:07 UTC (History)
0 users

See Also:


Attachments

Description Theodore W. Hall 2005-01-26 03:57:28 UTC
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"
Comment 1 Terje Bless 2005-02-03 23:07:53 UTC
That's a very good idea, but is unfortunately very hard to do in the
current code. I'll leave this feature request open, but it's unlikely
to get implemented any time soon.