<?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>1056</bug_id>
          
          <creation_ts>2005-01-26 03:57:28 +0000</creation_ts>
          <short_desc>Ambiguous error message when an HTML element lacks a required child</short_desc>
          <delta_ts>2005-02-03 23:07:53 +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>Parser</component>
          <version>0.7.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://www0.arch.cuhk.edu.hk/~hall/test/no-title.htm</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Theodore W. Hall">twhall</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          <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>2910</commentid>
    <comment_count>0</comment_count>
    <who name="Theodore W. Hall">twhall</who>
    <bug_when>2005-01-26 03:57:28 +0000</bug_when>
    <thetext>If the document head lacks the required title element, the validator issues a
rather ambiguous error message:

   end tag for &quot;HEAD&quot; 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:

   &quot;HEAD&quot; lacks a required child element: &quot;TITLE&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4207</commentid>
    <comment_count>1</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2005-02-03 23:07:53 +0000</bug_when>
    <thetext>That&apos;s a very good idea, but is unfortunately very hard to do in the
current code. I&apos;ll leave this feature request open, but it&apos;s unlikely
to get implemented any time soon.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>